diff --git a/src/gui/qt/gametable/log/guilog.cpp b/src/gui/qt/gametable/log/guilog.cpp index e0562dcd..eb0fd362 100644 --- a/src/gui/qt/gametable/log/guilog.cpp +++ b/src/gui/qt/gametable/log/guilog.cpp @@ -227,13 +227,13 @@ void guiLog::logNewGameHandMsg(int gameID, int handID) { if(SQLITE_LOG) { string sql; - int i; char *errmsg; if( mySqliteLogDb != 0 ) { if(handID == 1) { // start of a game -> insert game data + int i; sql = "INSERT INTO Game ("; sql += "GameID"; diff --git a/src/playerdata.cpp b/src/playerdata.cpp index 7bcdbb6b..47265915 100644 --- a/src/playerdata.cpp +++ b/src/playerdata.cpp @@ -30,7 +30,7 @@ PlayerData::PlayerData(const PlayerData &other) : m_uniqueId(other.GetUniqueId()), m_dbId(other.GetDBId()), m_number(other.GetNumber()), m_name(other.GetName()), m_password(), m_country(other.GetCountry()), m_avatarFile(other.GetAvatarFile()), m_avatarMD5(other.GetAvatarMD5()), m_type(other.GetType()), m_rights(other.GetRights()), m_isGameAdmin(other.IsGameAdmin()), - m_netSessionData(other.GetNetSessionData()), m_netAvatarFile() + m_netSessionData(other.GetNetSessionData()), m_netAvatarFile(), m_dataMutex() { }