[PATCH] winex11: Avoid dead assignment (scan-build)
Alex Henrie
alexhenrie24 at gmail.com
Mon Sep 16 00:40:54 CDT 2019
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
dlls/winex11.drv/xrender.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/winex11.drv/xrender.c b/dlls/winex11.drv/xrender.c
index 311ecb58b7..7b2814e151 100644
--- a/dlls/winex11.drv/xrender.c
+++ b/dlls/winex11.drv/xrender.c
@@ -1472,12 +1472,10 @@ static void xrender_blit( int op, Picture src_pict, Picture mask_pict, Picture d
if (width_src < 0)
{
x_src += width_src + 1;
- width_src = -width_src;
}
if (height_src < 0)
{
y_src += height_src + 1;
- height_src = -height_src;
}
if (width_dst < 0)
{
--
2.23.0
More information about the wine-devel
mailing list