mirror of https://github.com/acidanthera/audk.git
MdeModulePkg DXE FpdtStatusCodeHandler: Check Boolean value in if statement.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16503 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
99730361ec
commit
0b24f2cfe0
|
@ -744,7 +744,7 @@ FpdtExitBootServicesEventNotify (
|
||||||
IN VOID *Context
|
IN VOID *Context
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (mDxeCoreReportStatusCodeEnable == FALSE) {
|
if (!mDxeCoreReportStatusCodeEnable) {
|
||||||
//
|
//
|
||||||
// When DxeCore Report Status Code is disabled,
|
// When DxeCore Report Status Code is disabled,
|
||||||
// Unregister boot time report status code listener at ExitBootService Event.
|
// Unregister boot time report status code listener at ExitBootService Event.
|
||||||
|
|
Loading…
Reference in New Issue