fix more warnings

This commit is contained in:
DarthArgus
2014-10-27 18:59:37 -07:00
parent 9e6f200300
commit 7b6271b48d
26 changed files with 71 additions and 170 deletions
@@ -1177,7 +1177,6 @@ void CentralServer::receiveMessage(const MessageDispatch::Emitter & source, cons
else if(message.isType("DatabaseConsoleReplyMessage"))
{
Archive::ReadIterator ri = static_cast<const GameNetworkMessage &>(message).getByteStream().begin();
ri = static_cast<const GameNetworkMessage &>(message).getByteStream().begin();
GenericValueTypeMessage<std::pair<std::string, std::string> > msg(ri);
IGNORE_RETURN(sendToRandomGameServer(msg));
@@ -2657,7 +2656,6 @@ void CentralServer::run(void)
setup.port = ConfigCentralServer::getConnectionServicePort();
setup.bindInterface = ConfigCentralServer::getConnectionServiceBindInterface();
Service * cons = new Service(ConnectionAllocator<ConnectionServerConnection>(), setup);
NOT_NULL(cons);
cserver.m_connService = cons;
setup.port = ConfigCentralServer::getConsoleServicePort();
@@ -2743,7 +2741,7 @@ void CentralServer::run(void)
Os::sleep(1);
}
} while (!barrierReached && !cserver.m_done);
} while (!cserver.m_done);
//@todo Central needs to run a clock so we can schedule re-tries with the login server.
{