From 572f7bbd1dc67a6df6503ec4f828a64842d02cdc Mon Sep 17 00:00:00 2001 From: Spp Date: Sat, 21 Aug 2010 23:08:54 +0200 Subject: Core: Remove "may be used uninitialized in this function", "unused parameter ‘xxx’" and "'xxx' defined but not used" warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --HG-- branch : trunk --- src/server/worldserver/CommandLine/CliRunnable.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server/worldserver/CommandLine') diff --git a/src/server/worldserver/CommandLine/CliRunnable.cpp b/src/server/worldserver/CommandLine/CliRunnable.cpp index e44ec1ada94..18b4872055b 100644 --- a/src/server/worldserver/CommandLine/CliRunnable.cpp +++ b/src/server/worldserver/CommandLine/CliRunnable.cpp @@ -72,7 +72,7 @@ char * command_finder(const char* text, int state) return ((char*)NULL); } -char ** cli_completion(const char * text, int start, int end) +char ** cli_completion(const char * text, int start, int /*end*/) { char ** matches; matches = (char**)NULL; @@ -85,7 +85,7 @@ char ** cli_completion(const char * text, int start, int end) } #endif -void utf8print(void* arg, const char* str) +void utf8print(void* /*arg*/, const char* str) { #if PLATFORM == PLATFORM_WINDOWS wchar_t wtemp_buf[6000]; @@ -106,7 +106,7 @@ void utf8print(void* arg, const char* str) #endif } -void commandFinished(void*, bool sucess) +void commandFinished(void*, bool /*success*/) { printf("TC> "); fflush(stdout); -- cgit v1.2.3