mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-07 19:45:07 +02:00
ShellPkg: Fix compiler warning 'unused variable'
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Harry Liebel <Harry.Liebel@arm.com> Reviewed-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15462 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
df44112bda
commit
5f119dfc90
@ -145,6 +145,12 @@ LoadedImageProtocolDumpInformation(
|
||||
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
||||
);
|
||||
|
||||
if (EFI_ERROR (Status)) {
|
||||
SHELL_FREE_NON_NULL (Temp);
|
||||
SHELL_FREE_NON_NULL (RetVal);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
DataType = ConvertMemoryType(LoadedImage->ImageDataType);
|
||||
CodeType = ConvertMemoryType(LoadedImage->ImageCodeType);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user