mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-13 11:36:12 -05:00
Fix use of uninitalized value (#2364)
This commit is contained in:
@@ -912,7 +912,7 @@ void Servatrice_DatabaseInterface::updateUsersLastLoginData(const QString &userN
|
||||
if (!checkSql())
|
||||
return;
|
||||
|
||||
int usersID;
|
||||
int usersID=0;
|
||||
|
||||
QSqlQuery *query = prepareQuery("select id from {prefix}_users where name = :user_name");
|
||||
query->bindValue(":user_name", userName);
|
||||
|
||||
Reference in New Issue
Block a user