Fix RELEASE compilation.

This commit is contained in:
jief666 2020-09-22 11:54:06 +03:00
parent 0822befe12
commit e868a7dbfa

View File

@ -138,7 +138,7 @@ DumpUefiCallsEntrypoint (
IN EFI_SYSTEM_TABLE *SystemTable IN EFI_SYSTEM_TABLE *SystemTable
) )
{ {
#ifdef DEBUG_ON_SERIAL_PORT
{ {
EFI_LOADED_IMAGE* LoadedImage; EFI_LOADED_IMAGE* LoadedImage;
EFI_STATUS Status = gBS->HandleProtocol(ImageHandle, &gEfiLoadedImageProtocolGuid, (VOID **) &LoadedImage); EFI_STATUS Status = gBS->HandleProtocol(ImageHandle, &gEfiLoadedImageProtocolGuid, (VOID **) &LoadedImage);
@ -155,6 +155,7 @@ DumpUefiCallsEntrypoint (
SerialPortWrite((UINT8*)buf, AsciiStrLen(buf)); SerialPortWrite((UINT8*)buf, AsciiStrLen(buf));
} }
} }
#endif
// //
// Override StartImage // Override StartImage