From a3a8e6da2c6380de7f04bdb0f3f6939e20d493c4 Mon Sep 17 00:00:00 2001 From: Spp Date: Thu, 13 May 2010 00:15:21 +0200 Subject: Some warning fix Tab to spaces Remove trailing spaces --HG-- branch : trunk --- src/trinitycore/CliRunnable.cpp | 2 +- src/trinitycore/Master.cpp | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/trinitycore') 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(); -- cgit v1.2.3