summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-06-30 02:20:53 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-06-30 02:20:53 +0000
commit7471b8cd571159d466ba78f8f4f39cd861a6febb (patch)
tree72655d9a55a9792dff5a8e2bd425b1ce3a8c38f6 /MdeModulePkg
parent7c24ae3685d4b97155c73f8596386f988931fecf (diff)
downloadedk2-platforms-7471b8cd571159d466ba78f8f4f39cd861a6febb.tar.xz
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Library/GenericBdsLib/BdsConsole.c2
1 files changed, 1 insertions, 1 deletions
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;
}