From: Laszlo Ersek Date: Mon, 23 Feb 2015 16:02:21 +0000 (+0000) Subject: OptionRomPkg: FrameBufferBltLib: drop set but not used variable X-Git-Tag: edk2-stable201903~10278 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=cef89a58ee126ea3c46be6fc60685c7c2e6eae33 OptionRomPkg: FrameBufferBltLib: drop set but not used variable BltMemSrc is set in BltLibVideoFill(), but never read. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek Reviewed-by: Olivier Martin Reviewed-by: Jordan Justen git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16889 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c b/OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c index 7138ebf7b7..955ae3dfea 100644 --- a/OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c +++ b/OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c @@ -236,7 +236,6 @@ BltLibVideoFill ( ) { UINTN DstY; - VOID *BltMemSrc; VOID *BltMemDst; UINTN X; UINT8 Uint8; @@ -347,7 +346,6 @@ BltLibVideoFill ( ); X = X + MIN (X, Width - X); } - BltMemSrc = (VOID *) mBltLibLineBuffer; LineBufferReady = TRUE; } CopyMem (BltMemDst, mBltLibLineBuffer, WidthInBytes);