}\r
SHELL_FREE_NON_NULL(BasePath);\r
return(Status);\r
- }\r
+}\r
\r
/**\r
Get the GUID value from a human readable name.\r
multiple environment variables are being returned, Attributes\r
is undefined.\r
\r
- @retval NULL The environment variable doesn\92t exist.\r
- @return A non-NULL value points to the variable\92s value. The returned\r
+ @retval NULL The environment variable doesn't exist.\r
+ @return A non-NULL value points to the variable's value. The returned\r
pointer does not need to be freed by the caller.\r
**/\r
CONST CHAR16 *\r
multiple environment variables are being returned, Attributes\r
is undefined.\r
\r
- @retval NULL The environment variable doesn\92t exist. \r
- @return The environment variable\92s value. The returned pointer does not \r
+ @retval NULL The environment variable doesn't exist. \r
+ @return The environment variable's value. The returned pointer does not \r
need to be freed by the caller. \r
**/\r
typedef\r
Function to add a new GUID/Name mapping.\r
\r
@param[in] Guid The Guid\r
-@param[in] NameId The STRING id of the HII string to use\r
-@param[in] Dump The pointer to the dump function\r
+@param[in] NameID The STRING id of the HII string to use\r
+@param[in] DumpFunc The pointer to the dump function\r
\r
\r
@retval EFI_SUCCESS The operation was sucessful\r
}\r
\r
/**\r
- Find a dynamic command protocol instance given a command name string\r
+ Find a dynamic command protocol instance given a command name string.\r
\r
@param CommandString the command name string\r
\r
IN CONST CHAR16 *CommandString\r
)\r
{\r
- return (ShellCommandFindDynamicCommand(CommandString) != NULL);\r
+ return (BOOLEAN) ((ShellCommandFindDynamicCommand(CommandString) != NULL));\r
}\r
\r
/**\r
)\r
{\r
EFI_STATUS Status;\r
- BOOLEAN Found = FALSE;\r
- EFI_HANDLE *CommandHandleList = NULL;\r
+ BOOLEAN Found;\r
+ EFI_HANDLE *CommandHandleList;\r
EFI_HANDLE *NextCommand;\r
EFI_SHELL_DYNAMIC_COMMAND_PROTOCOL *DynamicCommand;\r
- CHAR16 *OutText = NULL;\r
+ CHAR16 *OutText;\r
+ \r
+ Found = FALSE;\r
+ CommandHandleList = NULL;\r
+ OutText = NULL;\r
\r
CommandHandleList = GetHandleListByProtocol(&gEfiShellDynamicCommandProtocolGuid);\r
\r