summaryrefslogtreecommitdiff
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-11 01:13:50 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-11 01:13:50 +0000
commitdf098cd51824ca144c98d9cf891d0635dc4a14cb (patch)
tree372cb186a16e1bebee334fa7f63fa065cfa7f6b6 /MdeModulePkg
parent454b8ca8516072e303d8d92a6cbe4b347e2de658 (diff)
downloadedk2-df098cd51824ca144c98d9cf891d0635dc4a14cb.zip
edk2-df098cd51824ca144c98d9cf891d0635dc4a14cb.tar.gz
edk2-df098cd51824ca144c98d9cf891d0635dc4a14cb.tar.bz2
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
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Core/Dxe/Image/Image.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/MdeModulePkg/Core/Dxe/Image/Image.c b/MdeModulePkg/Core/Dxe/Image/Image.c
index 4acc9d8..27dd610 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