Gerald Pfeifer : winex11.drv: Remove variable bits which is not really used from X11DRV_DIB_GetImageBits_4 .

Alexandre Julliard julliard at winehq.org
Wed May 5 11:08:36 CDT 2010


Module: wine
Branch: master
Commit: c5bc2a5d2faf1723ed4c08708f5d5337baa188ff
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c5bc2a5d2faf1723ed4c08708f5d5337baa188ff

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Wed May  5 00:24:24 2010 +0200

winex11.drv: Remove variable bits which is not really used from X11DRV_DIB_GetImageBits_4.

---

 dlls/winex11.drv/dib.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/dlls/winex11.drv/dib.c b/dlls/winex11.drv/dib.c
index 4b9c52b..ec97f2d 100644
--- a/dlls/winex11.drv/dib.c
+++ b/dlls/winex11.drv/dib.c
@@ -970,7 +970,6 @@ static void X11DRV_DIB_GetImageBits_4( int lines, BYTE *dstbits,
 {
     DWORD x;
     int h, width = min(srcwidth, dstwidth);
-    BYTE *bits;
 
     if (lines < 0 )
     {
@@ -979,8 +978,6 @@ static void X11DRV_DIB_GetImageBits_4( int lines, BYTE *dstbits,
        linebytes = -linebytes;
     }
 
-    bits = dstbits;
-
     switch (bmpImage->depth) {
     case 1:
     case 4:




More information about the wine-cvs mailing list