]> git.proxmox.com Git - mirror_edk2.git/commitdiff
IntelFrameworkModulePkg: Fix clang compielr warning.
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 28 Jun 2011 23:11:25 +0000 (23:11 +0000)
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 28 Jun 2011 23:11:25 +0000 (23:11 +0000)
Clang complains about if (()) constructs as it thinks you may be doing a compare and assign in the same if structure.

signed-off-by: vanjeff

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11923 6f19259b-4bc3-4df7-8a09-765794883524

IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c

index cc86908530c18d71c4d3144907da2c2e05f90f1b..bd0a5f423724b65b450169bc4d2afc6efcb0ea9a 100644 (file)
@@ -946,7 +946,7 @@ SetupResetReminder (
       //\r
       // If the user hits the YES Response key, reset\r
       //\r
-      if ((Key.UnicodeChar == CHAR_CARRIAGE_RETURN)) {\r
+      if (Key.UnicodeChar == CHAR_CARRIAGE_RETURN) {\r
         gRT->ResetSystem (EfiResetCold, EFI_SUCCESS, 0, NULL);\r
       }\r
       gST->ConOut->ClearScreen (gST->ConOut);\r