mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
MdeModulePkg/Core: correct one coding style
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1284 Non-Boolean comparisons should use a compare operator (==, !=, >, < >=, <=) Cc: Dandan Bi <dandan.bi@intel.com> Cc: Star Zeng <star.zeng@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com>
This commit is contained in:
parent
23a62c6990
commit
895415ed47
@ -1559,7 +1559,7 @@ PromoteGuardedFreePages (
|
||||
}
|
||||
}
|
||||
|
||||
if (AvailablePages) {
|
||||
if (AvailablePages != 0) {
|
||||
DEBUG ((DEBUG_INFO, "Promoted pages: %lX (%lx)\r\n", Start, (UINT64)AvailablePages));
|
||||
ClearGuardedMemoryBits (Start, AvailablePages);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user