From df098cd51824ca144c98d9cf891d0635dc4a14cb Mon Sep 17 00:00:00 2001 From: lgao4 Date: Wed, 11 Mar 2009 01:13:50 +0000 Subject: Fix build error caused by the unused local variable git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7859 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/Dxe/Image/Image.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'MdeModulePkg/Core') diff --git a/MdeModulePkg/Core/Dxe/Image/Image.c b/MdeModulePkg/Core/Dxe/Image/Image.c index 4acc9d8bd4..27dd610ccb 100644 --- a/MdeModulePkg/Core/Dxe/Image/Image.c +++ b/MdeModulePkg/Core/Dxe/Image/Image.c @@ -191,9 +191,7 @@ CoreLoadPeImage ( BOOLEAN DstBufAlocated; UINTN Size; UINTN LinkTimeBase; - IMAGE_FILE_HANDLE *FHandle; - FHandle = NULL; ZeroMem (&Image->ImageContext, sizeof (Image->ImageContext)); Image->ImageContext.Handle = Pe32Handle; @@ -238,10 +236,6 @@ CoreLoadPeImage ( Image->ImageContext.ImageError = IMAGE_ERROR_INVALID_SUBSYSTEM; return EFI_UNSUPPORTED; } - // - // Get the image base address in the original PeImage. - // - LinkTimeBase = (UINTN) Image->ImageContext.ImageAddress; // // Allocate memory of the correct memory type aligned on the required image boundry -- cgit v1.2.3