From 7471b8cd571159d466ba78f8f4f39cd861a6febb Mon Sep 17 00:00:00 2001 From: qwang12 Date: Mon, 30 Jun 2008 02:20:53 +0000 Subject: [PATCH] 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 --- MdeModulePkg/Library/GenericBdsLib/BdsConsole.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }