From: qwang12 Date: Mon, 30 Jun 2008 02:20:53 +0000 (+0000) Subject: Boolean values and variable type BOOLEAN should not use explicit comparisons to TRUE... X-Git-Tag: edk2-stable201903~20838 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=7471b8cd571159d466ba78f8f4f39cd861a6febb Boolean values and variable type BOOLEAN should not use explicit comparisons to TRUE or FALSE git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5378 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdeModulePkg/Library/GenericBdsLib/BdsConsole.c b/MdeModulePkg/Library/GenericBdsLib/BdsConsole.c index b8dbffb665..bd55156169 100644 --- a/MdeModulePkg/Library/GenericBdsLib/BdsConsole.c +++ b/MdeModulePkg/Library/GenericBdsLib/BdsConsole.c @@ -254,7 +254,7 @@ BdsLibConnectConsoleVariable ( gBS->FreePool (StartDevicePath); - if (DeviceExist == FALSE) { + if (!DeviceExist) { return EFI_NOT_FOUND; }