From 7538d53684792266c37e91f11a3ce2b7fb1e32d9 Mon Sep 17 00:00:00 2001 From: jljusten Date: Mon, 31 Oct 2011 15:58:05 +0000 Subject: MdeModulePkg: 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 Reviewed-by: lgao4 Reviewed-by: erictian Reviewed-by: rsun3 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12617 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'MdeModulePkg/Core') diff --git a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c index ffeab4e391..0392cfe1e8 100644 --- a/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c +++ b/MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c @@ -265,8 +265,6 @@ PeiLoadFixAddressHook( EFI_PEI_HOB_POINTERS CurrentHob; EFI_PEI_HOB_POINTERS Hob; EFI_PEI_HOB_POINTERS NextHob; - EFI_PHYSICAL_ADDRESS MaxMemoryBaseAddress; - UINT64 MaxMemoryLength; EFI_HOB_MEMORY_ALLOCATION *MemoryHob; // // Initialize Local Variables @@ -274,8 +272,6 @@ PeiLoadFixAddressHook( CurrentResourceHob = NULL; ResourceHob = NULL; NextResourceHob = NULL; - MaxMemoryBaseAddress = 0; - MaxMemoryLength = 0; HighAddress = 0; TopLoadingAddress = 0; MemoryRangeEnd = 0; -- cgit v1.2.3