Enabled and fixed compiler warnings. (#359)

This commit is contained in:
Ravin Perera
2022-01-28 16:03:34 +05:30
committed by GitHub
parent cf695af30b
commit 5cef95c9f6
28 changed files with 132 additions and 102 deletions

View File

@@ -149,7 +149,9 @@ namespace ledger::sqlite
const int ret = exec_sql(db, sql);
if (ret == -1)
{
LOG_ERROR << "Error when creating sqlite table " << table_name;
}
return ret;
}
@@ -170,7 +172,9 @@ namespace ledger::sqlite
const int ret = exec_sql(db, sql);
if (ret == -1)
{
LOG_ERROR << "Error when creating sqlite index '" << index_name << "' in table " << table_name;
}
return ret;
}