diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-10-19 11:20:35 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2017-10-25 10:19:31 +0800 |
commit | 6161123be237719069973836c6f58f625c95f6b7 (patch) | |
tree | 5388c91c0c312890661753ac832c2b74743db305 /ShellPkg/Library/UefiHandleParsingLib | |
parent | 0594ec417c89ed00cbea6a0b0458334727c4dc28 (diff) | |
download | edk2-6161123be237719069973836c6f58f625c95f6b7.zip edk2-6161123be237719069973836c6f58f625c95f6b7.tar.gz edk2-6161123be237719069973836c6f58f625c95f6b7.tar.bz2 |
ShellPkg/HandleParsingLib: Remove unnecessary CatSPrint call
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Diffstat (limited to 'ShellPkg/Library/UefiHandleParsingLib')
-rw-r--r-- | ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c index 1510316..d343f33 100644 --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c @@ -259,9 +259,7 @@ LoadedImageProtocolDumpInformation( } else {
SHELL_FREE_NON_NULL(FilePath);
}
- RetVal = CatSPrint(NULL, FileName);
- SHELL_FREE_NON_NULL(FileName);
- return RetVal;
+ return FileName;
}
HandleParsingHiiInit();
|