diff options
author | Olivier Martin <olivier.martin@arm.com> | 2013-07-16 05:13:52 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-07-16 05:13:52 +0000 |
commit | 6e84b4df30007c7e5e49b7bc7248933750af8a66 (patch) | |
tree | ca188d4f669a64bc757549c6b949b3e4971f398a /MdeModulePkg/Universal | |
parent | 40ae09a2a77740e08731fc79bc3d22f043ea3128 (diff) | |
download | edk2-platforms-6e84b4df30007c7e5e49b7bc7248933750af8a66.tar.xz |
Fixes the GCC build 'Unused variable' warning (raised an error when warnings are treated as errors).
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14474 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r-- | MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c index a83a2ff777..51ff210d18 100644 --- a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c +++ b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c @@ -1433,20 +1433,12 @@ ParseIfrData ( CHAR16 *VarStoreName;
UINT16 VarWidth;
UINT16 VarDefaultId;
- EFI_STRING GuidStr;
- EFI_STRING NameStr;
- EFI_STRING TempStr;
- UINTN LengthString;
BOOLEAN FirstOneOfOption;
LIST_ENTRY *LinkData;
LIST_ENTRY *LinkDefault;
EFI_IFR_VARSTORE_NAME_VALUE *IfrNameValueVarStore;
- LengthString = 0;
Status = EFI_SUCCESS;
- GuidStr = NULL;
- NameStr = NULL;
- TempStr = NULL;
BlockData = NULL;
DefaultDataPtr = NULL;
FirstOneOfOption = FALSE;
@@ -2875,7 +2867,6 @@ GetFullStringFromHiiFormPackages ( EFI_STRING ConfigHdr;
EFI_STRING StringPtr;
EFI_STRING Progress;
- BOOLEAN DataExist;
if (DataBaseRecord == NULL || DevicePath == NULL || Request == NULL || AltCfgResp == NULL) {
return EFI_INVALID_PARAMETER;
@@ -2891,7 +2882,6 @@ GetFullStringFromHiiFormPackages ( ConfigHdr = NULL;
HiiFormPackage = NULL;
PackageSize = 0;
- DataExist = FALSE;
Progress = *Request;
Status = GetFormPackageData (DataBaseRecord, &HiiFormPackage, &PackageSize);
|