summaryrefslogtreecommitdiffstats
path: root/ShellPkg/Library/UefiShellBcfgCommandLib
diff options
context:
space:
mode:
authorQiu Shumin <shumin.qiu@intel.com>2014-09-17 07:48:27 +0000
committershenshushi <shenshushi@6f19259b-4bc3-4df7-8a09-765794883524>2014-09-17 07:48:27 +0000
commit926be9d10cab8f841af5d5b619eb11e8a7a19af9 (patch)
tree55e53246b5c4ebf9c3bf4310c6ffe279266d05d3 /ShellPkg/Library/UefiShellBcfgCommandLib
parent4152ed237940ca064db8d0be55d10d92a02a3a06 (diff)
downloadedk2-926be9d10cab8f841af5d5b619eb11e8a7a19af9.tar.gz
edk2-926be9d10cab8f841af5d5b619eb11e8a7a19af9.tar.bz2
edk2-926be9d10cab8f841af5d5b619eb11e8a7a19af9.zip
ShellPkg: Use compare operator for non-Boolean comparisons.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin <shumin.qiu@intel.com> Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16120 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Library/UefiShellBcfgCommandLib')
-rw-r--r--ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c b/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c
index a0cb2da0fe..28f05eb1de 100644
--- a/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c
+++ b/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c
@@ -1503,7 +1503,7 @@ BcfgLibraryRegisterBcfgCommand (
IN CONST CHAR16 *Name
)
{
- if (gShellBcfgHiiHandle) {
+ if (gShellBcfgHiiHandle != NULL) {
return (EFI_SUCCESS);
}