Remove variable bits which is not really used from X11DRV_DIB_GetImageBits_32.

Gerald Pfeifer gerald at pfeifer.com
Sat May 1 15:21:52 CDT 2010


---
 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 7a1aad7..4b9c52b 100644
--- a/dlls/winex11.drv/dib.c
+++ b/dlls/winex11.drv/dib.c
@@ -3184,7 +3184,6 @@ static void X11DRV_DIB_GetImageBits_32( X11DRV_PDEVICE *physDev, int lines, BYTE
 {
     DWORD x;
     int h, width = min(srcwidth, dstwidth);
-    BYTE *bits;
     const dib_conversions *convs = (bmpImage->byte_order == LSBFirst) ? &dib_normal : &dib_src_byteswap;
 
     if (lines < 0 )
@@ -3194,8 +3193,6 @@ static void X11DRV_DIB_GetImageBits_32( X11DRV_PDEVICE *physDev, int lines, BYTE
         linebytes = -linebytes;
     }
 
-    bits = dstbits;
-
     switch (bmpImage->depth)
     {
     case 24:
-- 
1.6.6.2



More information about the wine-patches mailing list