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
This commit is contained in:
Qiu Shumin 2014-09-17 07:48:27 +00:00 committed by shenshushi
parent 4152ed2379
commit 926be9d10c
1 changed files with 1 additions and 1 deletions

View File

@ -1503,7 +1503,7 @@ BcfgLibraryRegisterBcfgCommand (
IN CONST CHAR16 *Name
)
{
if (gShellBcfgHiiHandle) {
if (gShellBcfgHiiHandle != NULL) {
return (EFI_SUCCESS);
}