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:
@ -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);
|
||||
|
Reference in New Issue
Block a user