summaryrefslogtreecommitdiff
path: root/ShellPkg/Application
diff options
context:
space:
mode:
authorQiu Shumin <shumin.qiu@intel.com>2014-09-05 01:01:24 +0000
committershenshushi <shenshushi@6f19259b-4bc3-4df7-8a09-765794883524>2014-09-05 01:01:24 +0000
commit33fe83084113c7239bbdedb6ea64194fd4984e52 (patch)
tree13dd0afa2fc92f8682c87cf75931d7fb3a6ca4c3 /ShellPkg/Application
parent37a4164af3a9f09f5e8afa3d639fcb514fe92ce7 (diff)
downloadedk2-platforms-33fe83084113c7239bbdedb6ea64194fd4984e52.tar.xz
ShellPkg: Refine the code style and comment.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin <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@16061 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Application')
-rw-r--r--ShellPkg/Application/Shell/ShellManParser.c1
-rw-r--r--ShellPkg/Application/Shell/ShellParametersProtocol.c2
-rw-r--r--ShellPkg/Application/Shell/ShellProtocol.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/ShellPkg/Application/Shell/ShellManParser.c b/ShellPkg/Application/Shell/ShellManParser.c
index 0cbfbaabba..30470e1987 100644
--- a/ShellPkg/Application/Shell/ShellManParser.c
+++ b/ShellPkg/Application/Shell/ShellManParser.c
@@ -605,6 +605,7 @@ ProcessManFile(
HelpSize = 0;
BriefSize = 0;
TempString = NULL;
+ Ascii = FALSE;
//
// See if it's in HII first
//
diff --git a/ShellPkg/Application/Shell/ShellParametersProtocol.c b/ShellPkg/Application/Shell/ShellParametersProtocol.c
index ff149009b1..452c4c18d8 100644
--- a/ShellPkg/Application/Shell/ShellParametersProtocol.c
+++ b/ShellPkg/Application/Shell/ShellParametersProtocol.c
@@ -30,7 +30,7 @@
@param[in, out] Walker pointer to string of command line. Adjusted to
reminaing command line on return
@param[in, out] TempParameter pointer to string of command line item extracted.
-
+ @param[in] Length buffer size of TempParameter.
**/
VOID
EFIAPI
diff --git a/ShellPkg/Application/Shell/ShellProtocol.c b/ShellPkg/Application/Shell/ShellProtocol.c
index a44afde436..692e42b737 100644
--- a/ShellPkg/Application/Shell/ShellProtocol.c
+++ b/ShellPkg/Application/Shell/ShellProtocol.c
@@ -2050,7 +2050,7 @@ EfiShellFindFilesInDir(
}
SHELL_FREE_NON_NULL(BasePath);
return(Status);
- }
+}
/**
Get the GUID value from a human readable name.