ShellPkg: Fixed build error 'variable set but not used'
GCC toolchain cannot build ShellPkg. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Harry Liebel <Harry.Liebel@arm.com> Signed-off-by: Olivier Martin <Olivier.Martin@arm.com> Reviewed-by: Jaben Carsey <Jaben.Carsey@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14326 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -1025,7 +1025,6 @@ ShellCommandRunMap (
|
||||
CONST CHAR16 *SName;
|
||||
CONST CHAR16 *Mapping;
|
||||
EFI_HANDLE MapAsHandle;
|
||||
CONST EFI_DEVICE_PATH_PROTOCOL *DevPath;
|
||||
SHELL_STATUS ShellStatus;
|
||||
BOOLEAN SfoMode;
|
||||
BOOLEAN ConstMode;
|
||||
@ -1037,7 +1036,6 @@ ShellCommandRunMap (
|
||||
ProblemParam = NULL;
|
||||
Mapping = NULL;
|
||||
SName = NULL;
|
||||
DevPath = NULL;
|
||||
ShellStatus = SHELL_SUCCESS;
|
||||
MapAsHandle = NULL;
|
||||
|
||||
|
Reference in New Issue
Block a user