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
This commit is contained in:
Eric Dong
2014-07-29 02:00:55 +00:00
committed by ydong10
parent 3f35b140e1
commit 0d807dae4a
5 changed files with 12 additions and 4 deletions

View File

@ -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);