From a473e4163b7d439cc581a049e06a413df77cd18a Mon Sep 17 00:00:00 2001 From: jljusten Date: Mon, 31 Oct 2011 15:57:12 +0000 Subject: 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 --- OvmfPkg/Sec/SecMain.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'OvmfPkg/Sec') 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 { -- cgit v1.2.3