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:
@ -1503,7 +1503,7 @@ BcfgLibraryRegisterBcfgCommand (
|
|||||||
IN CONST CHAR16 *Name
|
IN CONST CHAR16 *Name
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (gShellBcfgHiiHandle) {
|
if (gShellBcfgHiiHandle != NULL) {
|
||||||
return (EFI_SUCCESS);
|
return (EFI_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user