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/Library/UefiHiiLib | |
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/Library/UefiHiiLib')
-rw-r--r-- | MdeModulePkg/Library/UefiHiiLib/HiiLib.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c index 87aeb947ae..f48f42fcdb 100644 --- a/MdeModulePkg/Library/UefiHiiLib/HiiLib.c +++ b/MdeModulePkg/Library/UefiHiiLib/HiiLib.c @@ -1001,7 +1001,6 @@ ValidateQuestionFromVfr ( )
{
IFR_BLOCK_DATA VarBlockData;
- UINT8 *TmpBuffer;
UINT16 Offset;
UINT16 Width;
UINT64 VarValue;
@@ -1032,7 +1031,6 @@ ValidateQuestionFromVfr ( Index = 0;
VarStoreName = NULL;
Status = EFI_SUCCESS;
- TmpBuffer = NULL;
VarValue = 0;
IfrVarStore = NULL;
IfrNameValueStore = NULL;
@@ -1586,16 +1584,12 @@ GetBlockDataInfo ( LIST_ENTRY *Link;
UINTN MaxBufferSize;
EFI_STATUS Status;
- CHAR8 *VarStoreName;
- UINTN Index;
IFR_BLOCK_DATA *BlockArray;
UINT8 *DataBuffer;
//
// Initialize the local variables.
//
- Index = 0;
- VarStoreName = NULL;
Status = EFI_SUCCESS;
BlockData = NULL;
NewBlockData = NULL;
|