OptionRomPkg: FrameBufferBltLib: drop set but not used variable
authorLaszlo Ersek <lersek@redhat.com>
Mon, 23 Feb 2015 16:02:21 +0000 (16:02 +0000)
committerlersek <lersek@Edk2>
Mon, 23 Feb 2015 16:02:21 +0000 (16:02 +0000)
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

OptionRomPkg/Library/FrameBufferBltLib/FrameBufferBltLib.c

index 7138ebf..955ae3d 100644 (file)
@@ -236,7 +236,6 @@ BltLibVideoFill (
   )\r
 {\r
   UINTN                           DstY;\r
-  VOID                            *BltMemSrc;\r
   VOID                            *BltMemDst;\r
   UINTN                           X;\r
   UINT8                           Uint8;\r
@@ -347,7 +346,6 @@ BltLibVideoFill (
               );\r
             X = X + MIN (X, Width - X);\r
           }\r
-          BltMemSrc = (VOID *) mBltLibLineBuffer;\r
           LineBufferReady = TRUE;\r
         }\r
         CopyMem (BltMemDst, mBltLibLineBuffer, WidthInBytes);\r