diff options
author | Qiu Shumin <shumin.qiu@intel.com> | 2014-08-18 00:48:22 +0000 |
---|---|---|
committer | shenshushi <shenshushi@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-08-18 00:48:22 +0000 |
commit | f5ba4007ae30597c5a8b5dde20f2e0bac3f4f7bc (patch) | |
tree | 00673f62c824dab47ab6ea01b31d76abe7bdce1b /ShellPkg/Library/UefiShellLevel3CommandsLib | |
parent | da03183cd0da9e0623990da1c525736598b9ca63 (diff) | |
download | edk2-platforms-f5ba4007ae30597c5a8b5dde20f2e0bac3f4f7bc.tar.xz |
ShellPkg: Fix comments. Refine code style.
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@15815 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg/Library/UefiShellLevel3CommandsLib')
-rw-r--r-- | ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c b/ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c index a5dfade8f1..e0e15dbc3d 100644 --- a/ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c +++ b/ShellPkg/Library/UefiShellLevel3CommandsLib/Help.c @@ -35,11 +35,15 @@ PrintDynamicCommandHelp( )
{
EFI_STATUS Status;
- BOOLEAN Found = FALSE;
- EFI_HANDLE *CommandHandleList = NULL;
+ BOOLEAN Found;
+ EFI_HANDLE *CommandHandleList;
EFI_HANDLE *NextCommand;
EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL *DynamicCommand;
- CHAR16 *OutText = NULL;
+ CHAR16 *OutText;
+
+ Found = FALSE;
+ CommandHandleList = NULL;
+ OutText = NULL;
CommandHandleList = GetHandleListByProtocol(&gEfiShellDynamicCommandProtocolGuid);
|