Warnign fix

This commit is contained in:
Luca Deri 2022-02-22 12:12:47 +01:00
parent f6db6ff910
commit 0ecfc089b9
2 changed files with 3 additions and 4 deletions

View file

@ -71,7 +71,7 @@ void* MySQLDB::queryLoop() {
/* ******************************************* */
bool MySQLDB::createDBSchema(bool set_db_created) {
bool MySQLDB::createDBSchema() {
char sql[CONST_MAX_SQL_QUERY_LEN];
if(iface) {
@ -437,8 +437,7 @@ bool MySQLDB::createDBSchema(bool set_db_created) {
}
}
if(set_db_created)
db_created = true;
db_created = true;
return true;
}