ShellPkg: Fixed build errors related to variable declarations
- variable "TempLocation" was set but never used Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14605 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
committed by
oliviermartin
parent
253fcc8bdc
commit
5051c2873b
@ -136,7 +136,6 @@ GetDestinationLocation(
|
||||
EFI_SHELL_FILE_INFO *DestList;
|
||||
EFI_SHELL_FILE_INFO *Node;
|
||||
CHAR16 *DestPath;
|
||||
CHAR16 *TempLocation;
|
||||
UINTN NewSize;
|
||||
|
||||
DestList = NULL;
|
||||
@ -163,7 +162,7 @@ GetDestinationLocation(
|
||||
//
|
||||
// Not existing... must be renaming
|
||||
//
|
||||
if ((TempLocation = StrStr(DestDir, L":")) == NULL) {
|
||||
if (StrStr(DestDir, L":") == NULL) {
|
||||
if (Cwd == NULL) {
|
||||
ShellCloseFileMetaArg(&DestList);
|
||||
return (SHELL_INVALID_PARAMETER);
|
||||
|
Reference in New Issue
Block a user