mirror of https://github.com/acidanthera/audk.git
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:
parent
4152ed2379
commit
926be9d10c
|
@ -1503,7 +1503,7 @@ BcfgLibraryRegisterBcfgCommand (
|
|||
IN CONST CHAR16 *Name
|
||||
)
|
||||
{
|
||||
if (gShellBcfgHiiHandle) {
|
||||
if (gShellBcfgHiiHandle != NULL) {
|
||||
return (EFI_SUCCESS);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue