mirror of https://github.com/acidanthera/audk.git
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:
parent
3f35b140e1
commit
0d807dae4a
|
@ -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);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/** @file
|
||||
Implements editor interface functions.
|
||||
|
||||
Copyright (c) 2005 - 2012, Intel Corporation. All rights reserved. <BR>
|
||||
Copyright (c) 2005 - 2014, Intel Corporation. All rights reserved. <BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
|
@ -489,6 +489,7 @@ MainCommandCutLine (
|
|||
// IF cursor is not on valid line, an Status String will be prompted :
|
||||
// "Nothing to Cut".
|
||||
//
|
||||
Line = NULL;
|
||||
Status = FileBufferCutLine (&Line);
|
||||
if (Status == EFI_NOT_FOUND) {
|
||||
return EFI_SUCCESS;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/** @file
|
||||
Main file for Dh shell Driver1 function.
|
||||
|
||||
Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
|
@ -283,6 +283,8 @@ DisplayDriverModelHandle (
|
|||
UINTN ChildIndex;
|
||||
BOOLEAN Image;
|
||||
|
||||
DriverName = NULL;
|
||||
|
||||
//
|
||||
// See if Handle is a device handle and display its details.
|
||||
//
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/** @file
|
||||
Main file for attrib shell level 2 function.
|
||||
|
||||
Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
|
@ -39,6 +39,7 @@ IsDirectoryEmpty (
|
|||
|
||||
RetVal = TRUE;
|
||||
NoFile = FALSE;
|
||||
FileInfo = NULL;
|
||||
|
||||
for (FileHandleFindFirstFile(FileHandle, &FileInfo)
|
||||
; !NoFile
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/** @file
|
||||
Main file for Pause shell level 3 function.
|
||||
|
||||
Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved. <BR>
|
||||
Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved. <BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
|
@ -40,6 +40,7 @@ ShellCommandRunPause (
|
|||
|
||||
ProblemParam = NULL;
|
||||
ShellStatus = SHELL_SUCCESS;
|
||||
Resp = NULL;
|
||||
|
||||
//
|
||||
// initialize the shell lib (we must be in non-auto-init...)
|
||||
|
|
Loading…
Reference in New Issue