Fix use of uninitalized value (#2364)
This commit is contained in:
parent
d45293489f
commit
ae5fc1fe2c
1 changed files with 1 additions and 1 deletions
|
@ -912,7 +912,7 @@ void Servatrice_DatabaseInterface::updateUsersLastLoginData(const QString &userN
|
||||||
if (!checkSql())
|
if (!checkSql())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int usersID;
|
int usersID=0;
|
||||||
|
|
||||||
QSqlQuery *query = prepareQuery("select id from {prefix}_users where name = :user_name");
|
QSqlQuery *query = prepareQuery("select id from {prefix}_users where name = :user_name");
|
||||||
query->bindValue(":user_name", userName);
|
query->bindValue(":user_name", userName);
|
||||||
|
|
Loading…
Reference in a new issue