diff options
| author | Spp <none@none> | 2010-08-21 23:08:54 +0200 |
|---|---|---|
| committer | Spp <none@none> | 2010-08-21 23:08:54 +0200 |
| commit | 572f7bbd1dc67a6df6503ec4f828a64842d02cdc (patch) | |
| tree | 60cc6e5495dfa29d751059755bccf20aecc9ad44 /src/server/worldserver/CommandLine | |
| parent | a136403deed39dc7d8523fc7117a070b238992f9 (diff) | |
Core: Remove "may be used uninitialized in this function", "unused parameter ‘xxx’" and "'xxx' defined but not used" warnings
--HG--
branch : trunk
Diffstat (limited to 'src/server/worldserver/CommandLine')
| -rw-r--r-- | src/server/worldserver/CommandLine/CliRunnable.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |
