diff --git a/dlls/winex11.drv/dib.c b/dlls/winex11.drv/dib.c index 7a1aad7f80f..4b9c52b211c 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: