diff options
author | Qiu Shumin <shumin.qiu@intel.com> | 2014-09-17 07:48:27 +0000 |
---|---|---|
committer | shenshushi <shenshushi@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-09-17 07:48:27 +0000 |
commit | 926be9d10cab8f841af5d5b619eb11e8a7a19af9 (patch) | |
tree | 55e53246b5c4ebf9c3bf4310c6ffe279266d05d3 | |
parent | 4152ed237940ca064db8d0be55d10d92a02a3a06 (diff) | |
download | edk2-platforms-926be9d10cab8f841af5d5b619eb11e8a7a19af9.tar.xz |
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
-rw-r--r-- | ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c | 2 |
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);
}
|