Module: wine Branch: master Commit: 2bfb3ef624c0dc0e67a5b6b27e392cc3b97d4c43 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2bfb3ef624c0dc0e67a5b6b27e...
Author: Marcus Meissner marcus@jet.franken.de Date: Sun Nov 30 10:45:16 2014 +0100
dwrite: Initialize a variable (Coverity).
---
dlls/dwrite/analyzer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dwrite/analyzer.c b/dlls/dwrite/analyzer.c index 3670e46..17e0351 100644 --- a/dlls/dwrite/analyzer.c +++ b/dlls/dwrite/analyzer.c @@ -845,7 +845,7 @@ static HRESULT WINAPI dwritetextanalyzer_GetGlyphs(IDWriteTextAnalyzer2 *iface, { const struct dwritescript_properties *scriptprops; struct scriptshaping_context context; - struct scriptshaping_cache *cache; + struct scriptshaping_cache *cache = NULL; WCHAR *string; BOOL update_cluster; UINT32 i, g;