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
This commit is contained in:
lgao4 2009-03-11 01:13:50 +00:00
parent 454b8ca851
commit df098cd518
1 changed files with 0 additions and 6 deletions

View File

@ -191,9 +191,7 @@ CoreLoadPeImage (
BOOLEAN DstBufAlocated; BOOLEAN DstBufAlocated;
UINTN Size; UINTN Size;
UINTN LinkTimeBase; UINTN LinkTimeBase;
IMAGE_FILE_HANDLE *FHandle;
FHandle = NULL;
ZeroMem (&Image->ImageContext, sizeof (Image->ImageContext)); ZeroMem (&Image->ImageContext, sizeof (Image->ImageContext));
Image->ImageContext.Handle = Pe32Handle; Image->ImageContext.Handle = Pe32Handle;
@ -238,10 +236,6 @@ CoreLoadPeImage (
Image->ImageContext.ImageError = IMAGE_ERROR_INVALID_SUBSYSTEM; Image->ImageContext.ImageError = IMAGE_ERROR_INVALID_SUBSYSTEM;
return EFI_UNSUPPORTED; 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 // Allocate memory of the correct memory type aligned on the required image boundry