Commit 75c738e9 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

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

parent d0f1b684
...@@ -3184,7 +3184,6 @@ static void X11DRV_DIB_GetImageBits_32( X11DRV_PDEVICE *physDev, int lines, BYTE ...@@ -3184,7 +3184,6 @@ static void X11DRV_DIB_GetImageBits_32( X11DRV_PDEVICE *physDev, int lines, BYTE
{ {
DWORD x; DWORD x;
int h, width = min(srcwidth, dstwidth); int h, width = min(srcwidth, dstwidth);
BYTE *bits;
const dib_conversions *convs = (bmpImage->byte_order == LSBFirst) ? &dib_normal : &dib_src_byteswap; const dib_conversions *convs = (bmpImage->byte_order == LSBFirst) ? &dib_normal : &dib_src_byteswap;
if (lines < 0 ) if (lines < 0 )
...@@ -3194,8 +3193,6 @@ static void X11DRV_DIB_GetImageBits_32( X11DRV_PDEVICE *physDev, int lines, BYTE ...@@ -3194,8 +3193,6 @@ static void X11DRV_DIB_GetImageBits_32( X11DRV_PDEVICE *physDev, int lines, BYTE
linebytes = -linebytes; linebytes = -linebytes;
} }
bits = dstbits;
switch (bmpImage->depth) switch (bmpImage->depth)
{ {
case 24: case 24:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment