diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-10-31 15:57:12 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2011-10-31 15:57:12 +0000 |
commit | a473e4163b7d439cc581a049e06a413df77cd18a (patch) | |
tree | d6d6f4872f1ac988466be0288052aba252747e50 /OvmfPkg/Sec | |
parent | 8567a8ca77ef17c40af376da472a3b7224ce8756 (diff) |
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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/OvmfPkg/Sec/SecMain.c b/OvmfPkg/Sec/SecMain.c index c13abe0ae..3882dadd6 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 { |