UefiCpuPkg/MtrrLib: remove unused but set variable

Remove variable TempQWord that is declared, assigned but never referenced.
This fixes a warning emitted by GCC when -Wunused-but-set-variable is in
effect.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Cc: Jeff Fan <jeff.fan@intel.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
This commit is contained in:
Ard Biesheuvel 2016-03-24 07:28:19 +01:00 committed by Laszlo Ersek
parent 491ae24559
commit 16e93125b5
1 changed files with 0 additions and 2 deletions

View File

@ -459,11 +459,9 @@ ProgramFixedMtrr (
{ {
UINT32 MsrNum; UINT32 MsrNum;
UINT32 ByteShift; UINT32 ByteShift;
UINT64 TempQword;
UINT64 OrMask; UINT64 OrMask;
UINT64 ClearMask; UINT64 ClearMask;
TempQword = 0;
OrMask = 0; OrMask = 0;
ClearMask = 0; ClearMask = 0;