winex11.drv: Remove variable bits which is not really used from X11DRV_DIB_GetImageBi...
authorGerald Pfeifer <gerald@pfeifer.com>
Tue, 4 May 2010 22:24:24 +0000 (00:24 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 5 May 2010 08:52:24 +0000 (10:52 +0200)
dlls/winex11.drv/dib.c

index 4b9c52b211cca96cbbef0f6071097bd0e5d3f7d5..ec97f2dcb1a256155e92cd83a4d2a3f872fca214 100644 (file)
@@ -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: