Nikolay Sivov : d3dx9: Remove dead assignment (Coverity).

Alexandre Julliard julliard at winehq.org
Fri Aug 5 16:20:08 CDT 2016


Module: wine
Branch: master
Commit: 29fee71f1d0e26680c858dc44ce42885f4e3cd45
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=29fee71f1d0e26680c858dc44ce42885f4e3cd45

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Aug  4 09:17:16 2016 +0300

d3dx9: Remove dead assignment (Coverity).

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3dx9_36/mesh.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/d3dx9_36/mesh.c b/dlls/d3dx9_36/mesh.c
index 3204ea7..c26aa72 100644
--- a/dlls/d3dx9_36/mesh.c
+++ b/dlls/d3dx9_36/mesh.c
@@ -5662,7 +5662,6 @@ static HRESULT create_outline(struct glyphinfo *glyph, void *raw_outline, int da
                         pt->corner = POINTTYPE_CURVE_END;
                 }
                 outline->count--;
-                lastpt = &outline->items[outline->count - 1];
             } else {
                 /* outline closed with a line from end to start point */
                 attempt_line_merge(outline, outline->count - 1, &pt->pos, FALSE, cos_table);




More information about the wine-cvs mailing list