Austin English : winegcc: Fix a compiler warning on PC-BSD.

Alexandre Julliard julliard at winehq.org
Tue Mar 24 09:02:01 CDT 2009


Module: wine
Branch: master
Commit: 0aebd4f300496ec98195aee7418d78522a67074f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0aebd4f300496ec98195aee7418d78522a67074f

Author: Austin English <austinenglish at gmail.com>
Date:   Fri Mar 13 16:13:13 2009 -0400

winegcc: Fix a compiler warning on PC-BSD.

---

 tools/winegcc/winegcc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
index 327366c..9588bbf 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-cvs mailing list