From cef89a58ee126ea3c46be6fc60685c7c2e6eae33 Mon Sep 17 00:00:00 2001 From: Laszlo Ersek Date: Mon, 23 Feb 2015 16:02:21 +0000 Subject: 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 --- OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'OptionRomPkg/Library/FrameBufferBltLib') 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); -- cgit v1.2.3