More cppcheck fixes. Almost done now.

This commit is contained in:
lotodore
2011-02-09 16:44:26 +00:00
parent 49f6c4e757
commit 26d5ab02bc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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";
+1 -1
View File
@@ -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()
{
}