diff options
author | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-28 23:11:25 +0000 |
---|---|---|
committer | andrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-06-28 23:11:25 +0000 |
commit | 5817d50862fa7d137ae3e61caff4c2578d473595 (patch) | |
tree | 97113eaeca497fb8791c55cd5c0b027eb1ce1a70 /IntelFrameworkModulePkg | |
parent | 1a08be52c6d1d3607e9e2303f4240686ba52d449 (diff) | |
download | edk2-5817d50862fa7d137ae3e61caff4c2578d473595.zip edk2-5817d50862fa7d137ae3e61caff4c2578d473595.tar.gz edk2-5817d50862fa7d137ae3e61caff4c2578d473595.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsMisc.c index cc86908..bd0a5f4 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);
|