tools/winegcc: fix a compiler warning on PC-BSD

Austin English austinenglish at gmail.com
Fri Mar 13 15:13:13 CDT 2009


-- 
-Austin
-------------- next part --------------
diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
index 327366c..63b1e64 100644
--- a/tools/winegcc/winegcc.c
+++ b/tools/winegcc/winegcc.c
@@ -284,7 +284,7 @@ static char* get_temp_file(const char* prefix, const char* suffix)
 
 static const strarray* get_translator(struct options *opts)
 {
-    const char *str;
+    const char *str = NULL;
     strarray *ret;
 
     switch(opts->processor)


More information about the wine-patches mailing list