More cppcheck fixes. Almost done now.
This commit is contained in:
@@ -227,13 +227,13 @@ void guiLog::logNewGameHandMsg(int gameID, int handID) {
|
|||||||
if(SQLITE_LOG) {
|
if(SQLITE_LOG) {
|
||||||
|
|
||||||
string sql;
|
string sql;
|
||||||
int i;
|
|
||||||
char *errmsg;
|
char *errmsg;
|
||||||
|
|
||||||
if( mySqliteLogDb != 0 ) {
|
if( mySqliteLogDb != 0 ) {
|
||||||
|
|
||||||
if(handID == 1) {
|
if(handID == 1) {
|
||||||
// start of a game -> insert game data
|
// start of a game -> insert game data
|
||||||
|
int i;
|
||||||
|
|
||||||
sql = "INSERT INTO Game (";
|
sql = "INSERT INTO Game (";
|
||||||
sql += "GameID";
|
sql += "GameID";
|
||||||
|
|||||||
+1
-1
@@ -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_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_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_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()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user