From 5817d50862fa7d137ae3e61caff4c2578d473595 Mon Sep 17 00:00:00 2001 From: andrewfish Date: Tue, 28 Jun 2011 23:11:25 +0000 Subject: [PATCH] IntelFrameworkModulePkg: Fix clang compielr warning. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c index cc86908530..bd0a5f4237 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c @@ -946,7 +946,7 @@ SetupResetReminder ( // // If the user hits the YES Response key, reset // - if ((Key.UnicodeChar == CHAR_CARRIAGE_RETURN)) { + if (Key.UnicodeChar == CHAR_CARRIAGE_RETURN) { gRT->ResetSystem (EfiResetCold, EFI_SUCCESS, 0, NULL); } gST->ConOut->ClearScreen (gST->ConOut);