diff options
author | Olivier Martin <olivier.martin@arm.com> | 2014-11-10 10:20:25 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@Edk2> | 2014-11-10 10:20:25 +0000 |
commit | 931b2cff42df2042e504421b71b8710a4dc32bda (patch) | |
tree | b698b0fe439d83c3ad9649e6f2a951f4b19c2083 /ShellPkg | |
parent | ace354f10ba7ca424a96512b634ebee8225014f1 (diff) | |
download | edk2-platforms-931b2cff42df2042e504421b71b8710a4dc32bda.tar.xz |
ShellPkg: Fixed variable set but never used
This warning/error raised by ARM toolchain prevents to build
the EFI Shell for ARM 32-bit with this toolchain.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16323 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ShellPkg')
-rw-r--r-- | ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c index b4cf682ad8..4921f2816d 100644 --- a/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c +++ b/ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.c @@ -898,7 +898,6 @@ AddNewGuidNameMapping( IN CONST CHAR8 *Lang OPTIONAL
)
{
- CONST GUID_INFO_BLOCK *Temp;
EFI_STRING_ID NameID;
HandleParsingHiiInit();
@@ -907,7 +906,7 @@ AddNewGuidNameMapping( return (EFI_INVALID_PARAMETER);
}
- if ((Temp = InternalShellGetNodeFromGuid(Guid)) != NULL) {
+ if ((InternalShellGetNodeFromGuid(Guid)) != NULL) {
return (EFI_ACCESS_DENIED);
}
|