Marcus Meissner : dwrite: Initialize a variable (Coverity).
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Dec 1 14:53:05 CST 2014
Module: wine
Branch: master
Commit: 2bfb3ef624c0dc0e67a5b6b27e392cc3b97d4c43
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2bfb3ef624c0dc0e67a5b6b27e392cc3b97d4c43
Author: Marcus Meissner <marcus at 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;
More information about the wine-cvs
mailing list