From c4028111bdef9614eec7f1a15b3cf9eb6a632410 Mon Sep 17 00:00:00 2001 From: click Date: Sun, 12 Sep 2010 21:19:43 +0200 Subject: Core: Remove some more warnings (initialization sequence in Unit.cpp and a non-initalized variable in worldserver) --HG-- branch : trunk --- src/server/worldserver/CommandLine/CliRunnable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/worldserver/CommandLine') diff --git a/src/server/worldserver/CommandLine/CliRunnable.cpp b/src/server/worldserver/CommandLine/CliRunnable.cpp index 0a5b16563f5..15618936013 100644 --- a/src/server/worldserver/CommandLine/CliRunnable.cpp +++ b/src/server/worldserver/CommandLine/CliRunnable.cpp @@ -106,7 +106,7 @@ void utf8print(void* /*arg*/, const char* str) printf(temp_buf); #else { - va_list v; + va_list v = NULL; vprintf(str, v); va_end(v); fflush(stdout); -- cgit v1.2.3