1. Fix several comments in function headers for 'ShellProtocol.c', 'ShellProtocol.h' and 'Ls.c'. 2. Remove the initialization of variable 'CalleeExitStatus' in function 'RunScriptFileHandle' of 'Shell.c' from its declarartion.

Signed-off-by: Shumin Qiu <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15190 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Shumin Qiu 2014-01-28 00:37:11 +00:00 committed by shenshushi
parent 5c1e62f35a
commit 7bc3ec3d80
4 changed files with 6 additions and 5 deletions

View File

@ -2412,10 +2412,12 @@ RunScriptFileHandle (
CONST CHAR16 *CurDir;
UINTN LineCount;
CHAR16 LeString[50];
SHELL_STATUS CalleeExitStatus = SHELL_SUCCESS;
SHELL_STATUS CalleeExitStatus;
ASSERT(!ShellCommandGetScriptExit());
CalleeExitStatus = SHELL_SUCCESS;
PreScriptEchoState = ShellCommandGetEchoState();
NewScriptFile = (SCRIPT_FILE*)AllocateZeroPool(sizeof(SCRIPT_FILE));

View File

@ -1367,7 +1367,6 @@ EfiShellEnablePageBreak (
variables with the format 'x=y', where x is the
environment variable name and y is the value. If this
is NULL, then the current shell environment is used.
@param StatusCode Points to the status code returned by the command.
@param[out] ExitDataSize ExitDataSize as returned from gBS->StartImage
@param[out] ExitData ExitData as returned from gBS->StartImage

View File

@ -446,8 +446,6 @@ EfiShellEnablePageBreak (
@param[out] ExitDataSize ExitDataSize as returned from gBS->StartImage
@param[out] ExitData ExitData as returned from gBS->StartImage
@param StatusCode Points to the status code returned by the command.
@retval EFI_SUCCESS The command executed successfully. The status code
returned by the command is pointed to by StatusCode.
@retval EFI_INVALID_PARAMETER The parameters are invalid.

View File

@ -295,7 +295,9 @@ PrintNonSfoHeader(
/**
print out the footer when not using standard format output.
@param[in] Path String with starting path.
@param[in] Files The number of files.
@param[in] Size The size of files in bytes.
@param[in] Dirs The number of directories.
**/
VOID
EFIAPI