[PATCH] d3dx9: Remove dead assignment (Coverity)

Nikolay Sivov nsivov at codeweavers.com
Thu Aug 4 01:17:16 CDT 2016


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---

It's overwritten right after if block.

 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);
-- 
2.8.1




More information about the wine-patches mailing list