summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Sec
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2011-10-31 15:57:12 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2011-10-31 15:57:12 +0000
commita473e4163b7d439cc581a049e06a413df77cd18a (patch)
treed6d6f4872f1ac988466be0288052aba252747e50 /OvmfPkg/Sec
parent8567a8ca77ef17c40af376da472a3b7224ce8756 (diff)
downloadedk2-a473e4163b7d439cc581a049e06a413df77cd18a.tar.gz
edk2-a473e4163b7d439cc581a049e06a413df77cd18a.tar.bz2
edk2-a473e4163b7d439cc581a049e06a413df77cd18a.zip
OvmfPkg: Remove variables that are set, but not used
GCC 4.6 generates a warning when a variable is set, but never used. Signed-off-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12615 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/Sec')
-rw-r--r--OvmfPkg/Sec/SecMain.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/OvmfPkg/Sec/SecMain.c b/OvmfPkg/Sec/SecMain.c
index c13abe0aec..3882dadd63 100644
--- a/OvmfPkg/Sec/SecMain.c
+++ b/OvmfPkg/Sec/SecMain.c
@@ -98,11 +98,9 @@ FindMainFv (
{
EFI_FIRMWARE_VOLUME_HEADER *Fv;
UINTN Distance;
- BOOLEAN Found;
ASSERT (((UINTN) *BootFv & EFI_PAGE_MASK) == 0);
- Found = FALSE;
Fv = *BootFv;
Distance = (UINTN) (*BootFv)->FvLength;
do {