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:
@ -145,6 +145,12 @@ LoadedImageProtocolDumpInformation(
|
|||||||
EFI_OPEN_PROTOCOL_GET_PROTOCOL
|
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);
|
DataType = ConvertMemoryType(LoadedImage->ImageDataType);
|
||||||
CodeType = ConvertMemoryType(LoadedImage->ImageCodeType);
|
CodeType = ConvertMemoryType(LoadedImage->ImageCodeType);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user