summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-08 23:29:21 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-09 22:51:37 +0200
commitdefb43bcd7dd1b3a475214bb3c36cb44bf16358f (patch)
tree40930c6d2e0f83723d230657b1250c600162c5ee /src/main.cpp
parent69d8407badcb703709534f5097b9b5697ac3404c (diff)
downloadmana-defb43bcd7dd1b3a475214bb3c36cb44bf16358f.tar.gz
mana-defb43bcd7dd1b3a475214bb3c36cb44bf16358f.tar.bz2
mana-defb43bcd7dd1b3a475214bb3c36cb44bf16358f.tar.xz
mana-defb43bcd7dd1b3a475214bb3c36cb44bf16358f.zip
Fixed some warnings
Unused variable, compiler suggested braces to disambiguate an else statement and another comparision between signed and unsigned integers.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 0ef7289a..d113f3e4 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -967,7 +967,7 @@ int main(int argc, char *argv[])
#ifdef TMWSERV_SUPPORT
Net::initialize();
- TmwServ::GeneralHandler *generalHandler = new TmwServ::GeneralHandler;
+ new TmwServ::GeneralHandler; // Currently registers itself
#else
SDLNet_Init();
Network *network = new Network;