summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg
diff options
context:
space:
mode:
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-28 23:11:25 +0000
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>2011-06-28 23:11:25 +0000
commit5817d50862fa7d137ae3e61caff4c2578d473595 (patch)
tree97113eaeca497fb8791c55cd5c0b027eb1ce1a70 /IntelFrameworkModulePkg
parent1a08be52c6d1d3607e9e2303f4240686ba52d449 (diff)
downloadedk2-platforms-5817d50862fa7d137ae3e61caff4c2578d473595.tar.xz
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
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r--IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c2
1 files changed, 1 insertions, 1 deletions
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);