diff options
author | Laszlo Ersek <lersek@redhat.com> | 2015-02-23 16:02:21 +0000 |
---|---|---|
committer | lersek <lersek@Edk2> | 2015-02-23 16:02:21 +0000 |
commit | cef89a58ee126ea3c46be6fc60685c7c2e6eae33 (patch) | |
tree | 84420a02af62a296dad176a9aa7e8ed459110d56 /OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c | |
parent | a8577b3a65e2aad01b1c69338ab1c63273d073f6 (diff) | |
download | edk2-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/Library/FrameBufferBltLib/FrameBufferBltLib.c')
-rw-r--r-- | OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c | 2 |
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);
|