From 952d3cf10e3af3cc5e68110bc75f3c830b4783c9 Mon Sep 17 00:00:00 2001 From: Spp Date: Fri, 1 Oct 2010 09:10:07 +0200 Subject: Core: Fix couple of warnings --HG-- branch : trunk --- src/server/game/Chat/Commands/Debugcmds.cpp | 2 +- src/server/shared/Database/MySQLConnection.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/server/game/Chat/Commands/Debugcmds.cpp b/src/server/game/Chat/Commands/Debugcmds.cpp index 7d202a91a67..4410846c1aa 100644 --- a/src/server/game/Chat/Commands/Debugcmds.cpp +++ b/src/server/game/Chat/Commands/Debugcmds.cpp @@ -271,7 +271,7 @@ bool ChatHandler::HandleDebugUpdateWorldStateCommand(const char* args) return true; } -bool ChatHandler::HandleDebugAreaTriggers(const char* args) +bool ChatHandler::HandleDebugAreaTriggers(const char* /*args*/) { Player* plr = m_session->GetPlayer(); if (!plr->isDebugAreaTriggers) diff --git a/src/server/shared/Database/MySQLConnection.cpp b/src/server/shared/Database/MySQLConnection.cpp index c16e42b71d6..9ee1fad0bc4 100644 --- a/src/server/shared/Database/MySQLConnection.cpp +++ b/src/server/shared/Database/MySQLConnection.cpp @@ -33,17 +33,17 @@ #include "Timer.h" MySQLConnection::MySQLConnection(MySQLConnectionInfo& connInfo) : -m_connectionInfo(connInfo), m_queue(NULL), m_worker(NULL), -m_Mysql(NULL) +m_Mysql(NULL), +m_connectionInfo(connInfo) { } MySQLConnection::MySQLConnection(ACE_Activation_Queue* queue, MySQLConnectionInfo& connInfo) : -m_connectionInfo(connInfo), m_queue(queue), -m_Mysql(NULL) +m_Mysql(NULL), +m_connectionInfo(connInfo) { m_worker = new DatabaseWorker(m_queue, this); } -- cgit v1.2.3