]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/SecurityStubDxe/Defer3rdPartyImageLoad.c
MdeModulePkg: Change complex DEBUG_CODE() to DEBUG_CODE_BEGIN/END()
[mirror_edk2.git] / MdeModulePkg / Universal / SecurityStubDxe / Defer3rdPartyImageLoad.c
index 6a5f4a3b99119e91104063d2d8e42e3516da3c13..dfa680b0359a5034ac066c5a1ba420f32a9f0c32 100644 (file)
@@ -330,7 +330,7 @@ Defer3rdPartyImageLoad (
 \r
   ImageInfo = LookupImage (File, BootPolicy);\r
 \r
 \r
   ImageInfo = LookupImage (File, BootPolicy);\r
 \r
-  DEBUG_CODE (\r
+  DEBUG_CODE_BEGIN ();\r
     CHAR16 *DevicePathStr;\r
     DevicePathStr = ConvertDevicePathToText (File, FALSE, FALSE);\r
     DEBUG ((\r
     CHAR16 *DevicePathStr;\r
     DevicePathStr = ConvertDevicePathToText (File, FALSE, FALSE);\r
     DEBUG ((\r
@@ -342,7 +342,7 @@ Defer3rdPartyImageLoad (
     if (DevicePathStr != NULL) {\r
       FreePool (DevicePathStr);\r
     }\r
     if (DevicePathStr != NULL) {\r
       FreePool (DevicePathStr);\r
     }\r
-    );\r
+  DEBUG_CODE_END ();\r
 \r
   if (mEndOfDxe) {\r
     mImageLoadedAfterEndOfDxe = TRUE;\r
 \r
   if (mEndOfDxe) {\r
     mImageLoadedAfterEndOfDxe = TRUE;\r