summaryrefslogtreecommitdiff
path: root/OptionRomPkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2015-02-23 16:02:21 +0000
committerlersek <lersek@Edk2>2015-02-23 16:02:21 +0000
commitcef89a58ee126ea3c46be6fc60685c7c2e6eae33 (patch)
tree84420a02af62a296dad176a9aa7e8ed459110d56 /OptionRomPkg
parenta8577b3a65e2aad01b1c69338ab1c63273d073f6 (diff)
downloadedk2-platforms-cef89a58ee126ea3c46be6fc60685c7c2e6eae33.tar.xz
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 <lersek@redhat.com> Reviewed-by: Olivier Martin <Olivier.Martin@arm.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16889 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OptionRomPkg')
-rw-r--r--OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c2
1 files changed, 0 insertions, 2 deletions
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);