=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: dwrite: Remove dead initialization (clang).

Alexandre Julliard julliard at winehq.org
Tue Jan 31 15:42:49 CST 2017


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Mon Jan 30 23:11:06 2017 +0100

dwrite: Remove dead initialization (clang).

Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dwrite/layout.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dwrite/layout.c b/dlls/dwrite/layout.c
index 014fba4..3d931cb 100644
--- a/dlls/dwrite/layout.c
+++ b/dlls/dwrite/layout.c
@@ -883,7 +883,7 @@ static HRESULT layout_compute_runs(struct dwrite_textlayout *layout)
             run->run.fontEmSize = range->fontsize * scale;
 
             if (mapped_length < length) {
-                struct regular_layout_run *nextrun = &r->u.regular;
+                struct regular_layout_run *nextrun;
                 struct layout_run *nextr;
 
                 /* keep mapped part for current run, add another run for the rest */




More information about the wine-cvs mailing list