dwrite: Remove dead initialization (clang)

André Hentschel nerv at dawncrow.de
Sun Jan 15 09:20:55 CST 2017


Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
 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 706ed4e..56b722a 100644
--- a/dlls/dwrite/layout.c
+++ b/dlls/dwrite/layout.c
@@ -879,7 +879,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 */
-- 
2.7.4





More information about the wine-patches mailing list