diff options
author | Spp <none@none> | 2010-05-13 00:15:21 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-05-13 00:15:21 +0200 |
commit | a3a8e6da2c6380de7f04bdb0f3f6939e20d493c4 (patch) | |
tree | ed9a57e9c72287b1544f39cfe1bff09492e2a2ce /src/trinitycore | |
parent | 4a448eca37a5a5409d39d4036db3793cfa27edf8 (diff) |
Some warning fix
Tab to spaces
Remove trailing spaces
--HG--
branch : trunk
Diffstat (limited to 'src/trinitycore')
-rw-r--r-- | src/trinitycore/CliRunnable.cpp | 2 | ||||
-rw-r--r-- | src/trinitycore/Master.cpp | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/trinitycore/CliRunnable.cpp b/src/trinitycore/CliRunnable.cpp index 688b9556874..b39faf694db 100644 --- a/src/trinitycore/CliRunnable.cpp +++ b/src/trinitycore/CliRunnable.cpp @@ -375,7 +375,7 @@ void CliRunnable::run() WorldDatabase.ThreadStart(); // let thread do safe mySQL requests char commandbuf[256]; - bool canflush = true; + ///- Display the list of available CLI functions then beep sLog.outString(""); #if PLATFORM != WINDOWS diff --git a/src/trinitycore/Master.cpp b/src/trinitycore/Master.cpp index 81e31c0ca30..ff9085a62ab 100644 --- a/src/trinitycore/Master.cpp +++ b/src/trinitycore/Master.cpp @@ -304,8 +304,6 @@ int Master::Run() uint32 realCurrTime, realPrevTime; realCurrTime = realPrevTime = getMSTime(); - uint32 socketSelecttime = sWorld.getConfig(CONFIG_SOCKET_SELECTTIME); - ///- Start up freeze catcher thread if(uint32 freeze_delay = sConfig.GetIntDefault("MaxCoreStuckTime", 0)) { @@ -386,7 +384,7 @@ int Master::Run() b[3].Event.KeyEvent.wVirtualScanCode = 0x1c; b[3].Event.KeyEvent.wRepeatCount = 1; DWORD numb; - BOOL ret = WriteConsoleInput(hStdIn, b, 4, &numb); + WriteConsoleInput(hStdIn, b, 4, &numb); cliThread->wait(); |