Boolean values and variable type BOOLEAN should not use explicit comparisons to TRUE...
authorqwang12 <qwang12@de2fecce-e211-0410-80a6-f3fac2684e05>
Mon, 30 Jun 2008 02:20:53 +0000 (02:20 +0000)
committerqwang12 <qwang12@de2fecce-e211-0410-80a6-f3fac2684e05>
Mon, 30 Jun 2008 02:20:53 +0000 (02:20 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@5378 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/MdeModulePkg/Library/GenericBdsLib/BdsConsole.c

index b8dbffb..bd55156 100644 (file)
@@ -254,7 +254,7 @@ BdsLibConnectConsoleVariable (
 \r
   gBS->FreePool (StartDevicePath);\r
 \r
-  if (DeviceExist == FALSE) {\r
+  if (!DeviceExist) {\r
     return EFI_NOT_FOUND;\r
   }\r
 \r