diff options
Diffstat (limited to 'ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c')
-rw-r--r-- | ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c b/ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c index 9ce915b..0d01ad7 100644 --- a/ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c +++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/Mv.c @@ -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);
|