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/Library/DxePrintLibPrint2Protocol/PrintLib.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'MdeModulePkg/Library/DxePrintLibPrint2Protocol') diff --git a/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c b/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c index 671c3332f9..3b4d4e03ad 100644 --- a/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c +++ b/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c @@ -1134,7 +1134,6 @@ InternalPrintLibSPrintMarker ( IN BASE_LIST BaseListMarker OPTIONAL ) { - CHAR8 *OriginalBuffer; CHAR8 *EndBuffer; CHAR8 ValueBuffer[MAXIMUM_VALUE_CHARACTERS]; UINT32 BytesPerOutputCharacter; @@ -1185,7 +1184,6 @@ InternalPrintLibSPrintMarker ( // Reserve space for the Null terminator. // BufferSize--; - OriginalBuffer = Buffer; // // Set the tag for the end of the input Buffer. -- cgit v1.2.3