diff --git a/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c b/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c index bb3140f2d6..02d6c87050 100644 --- a/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c +++ b/ArmVirtPkg/Library/PlatformBootManagerLib/PlatformBm.c @@ -605,7 +605,7 @@ RemoveStaleFvFileOptions ( // Status = EfiBootManagerDeleteLoadOptionVariable ( BootOptions[Index].OptionNumber, LoadOptionTypeBoot); - DEBUG_CODE ( + DEBUG_CODE_BEGIN (); CHAR16 *DevicePathString; DevicePathString = ConvertDevicePathToText(BootOptions[Index].FilePath, @@ -621,7 +621,7 @@ RemoveStaleFvFileOptions ( if (DevicePathString != NULL) { FreePool (DevicePathString); } - ); + DEBUG_CODE_END (); } EfiBootManagerFreeLoadOptions (BootOptions, BootOptionCount);