Gerald Pfeifer : winex11: Remove variable bits which is not really used from X11DRV_DIB_GetImageBits_32 .
Alexandre Julliard
julliard at winehq.org
Mon May 3 11:54:09 CDT 2010
Module: wine
Branch: master
Commit: 75c738e9e1b4d1b8696b0ac73151b08d533f0257
URL: http://source.winehq.org/git/wine.git/?a=commit;h=75c738e9e1b4d1b8696b0ac73151b08d533f0257
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Sat May 1 22:21:52 2010 +0200
winex11: Remove variable bits which is not really used from X11DRV_DIB_GetImageBits_32.
---
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:
More information about the wine-cvs
mailing list