dwrite: Remove unused initializer (Clang)

André Hentschel nerv at dawncrow.de
Tue Jul 21 13:31:45 CDT 2015


---
 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 7e608a6..22c36a3 100644
--- a/dlls/dwrite/layout.c
+++ b/dlls/dwrite/layout.c
@@ -1423,7 +1423,7 @@ static HRESULT layout_compute_effective_runs(struct dwrite_textlayout *layout)
             layout->clustermetrics[i].isNewline || /* always wrap on new line */
             i == layout->cluster_count - 1) /* end of the text */ {
 
-            UINT32 strlength, last_cluster = i, index;
+            UINT32 strlength, last_cluster, index;
             FLOAT descent, trailingspacewidth;
 
             if (!overflow) {
-- 
1.9.1





More information about the wine-patches mailing list