Alex Henrie : winex11: Avoid dead assignment (scan-build).

Alexandre Julliard julliard at winehq.org
Mon Sep 16 16:33:43 CDT 2019


Module: wine
Branch: master
Commit: 359eb9e5573db01edbd4849737cd20021c7281a4
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=359eb9e5573db01edbd4849737cd20021c7281a4

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Sun Sep 15 23:40:54 2019 -0600

winex11: Avoid dead assignment (scan-build).

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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)
     {




More information about the wine-cvs mailing list