diff options
author | Eric Dong <eric.dong@intel.com> | 2014-07-29 02:00:55 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-07-29 02:00:55 +0000 |
commit | 0d807dae4adf222ee0c1b3abe504c9a271a46062 (patch) | |
tree | bd7471e493220502dbfe8eecda17a1bd0d1ab6ad /ShellPkg/Application | |
parent | 3f35b140e14cf1e95ec9621adedaa29890ac4fc9 (diff) | |
download | edk2-platforms-0d807dae4adf222ee0c1b3abe504c9a271a46062.tar.xz |
Update code to support VS2013 tool chain.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15704 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Application')
-rw-r--r-- | ShellPkg/Application/Shell/ShellProtocol.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ShellPkg/Application/Shell/ShellProtocol.c b/ShellPkg/Application/Shell/ShellProtocol.c index 3d01283b60..403bed4516 100644 --- a/ShellPkg/Application/Shell/ShellProtocol.c +++ b/ShellPkg/Application/Shell/ShellProtocol.c @@ -1318,6 +1318,8 @@ EfiShellDeleteFileByName( SHELL_FILE_HANDLE FileHandle;
EFI_STATUS Status;
+ FileHandle = NULL;
+
//
// get a handle to the file
//
@@ -1960,6 +1962,7 @@ EfiShellFindFilesInDir( UINTN Size;
CHAR16 *TempSpot;
+ BasePath = NULL;
Status = FileHandleGetFileName(FileDirHandle, &BasePath);
if (EFI_ERROR(Status)) {
return (Status);
|