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:
@ -2412,9 +2412,11 @@ RunScriptFileHandle (
|
||||
CONST CHAR16 *CurDir;
|
||||
UINTN LineCount;
|
||||
CHAR16 LeString[50];
|
||||
SHELL_STATUS CalleeExitStatus = SHELL_SUCCESS;
|
||||
SHELL_STATUS CalleeExitStatus;
|
||||
|
||||
ASSERT(!ShellCommandGetScriptExit());
|
||||
|
||||
CalleeExitStatus = SHELL_SUCCESS;
|
||||
|
||||
PreScriptEchoState = ShellCommandGetEchoState();
|
||||
|
||||
|
Reference in New Issue
Block a user