dwrite: Remove dead initialization (clang)

André Hentschel nerv at dawncrow.de
Mon Jan 30 16:11:06 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 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 */
-- 
2.7.4





More information about the wine-patches mailing list