mirror of https://github.com/acidanthera/audk.git
DynamicTablesPkg: Change complex DEBUG_CODE() to DEBUG_CODE_BEGIN/END()
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3767 Update use of DEBUG_CODE(Expression) if Expression is a complex code block with if/while/for/case statements that use {}. Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael Kubacki <michael.kubacki@microsoft.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
parent
e3b855f283
commit
4a9d411662
|
@ -174,7 +174,7 @@ error_handler:
|
|||
Cmn600Info->DtcCount
|
||||
));
|
||||
|
||||
DEBUG_CODE (
|
||||
DEBUG_CODE_BEGIN ();
|
||||
for (DtcIndex = 0; DtcIndex < Cmn600Info->DtcCount; DtcIndex++) {
|
||||
DtcInterrupt = &Cmn600Info->DtcInterrupt[DtcIndex];
|
||||
DEBUG ((
|
||||
|
@ -193,7 +193,7 @@ error_handler:
|
|||
DtcInterrupt->Flags
|
||||
));
|
||||
} // for
|
||||
);
|
||||
DEBUG_CODE_END ();
|
||||
|
||||
return EFI_INVALID_PARAMETER;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue