kopia lustrzana https://gitlab.com/tomaszg/geostat
cppcheck: fix for possibly undefined field
rodzic
38d0003f06
commit
8ef3e92ca3
1
ocdb.cpp
1
ocdb.cpp
|
@ -407,6 +407,7 @@ Caches OCdb::parse_sql_caches() const {
|
|||
if (sqlite3_column_text(stmt, 7)) c.region = reinterpret_cast<const char*>(sqlite3_column_text(stmt, 7));
|
||||
if (sqlite3_column_text(stmt, 8)) c.owner_uuid = reinterpret_cast<const char*>(sqlite3_column_text(stmt, 8)); // TODO: we don't know owner's nick
|
||||
if (sqlite3_column_text(stmt, 9)) c.status = static_cast<Status>(sqlite3_column_int(stmt, 9));
|
||||
else c.status = unknown;
|
||||
if (sqlite3_column_text(stmt, 10)) c.name = reinterpret_cast<const char*>(sqlite3_column_text(stmt, 10));
|
||||
|
||||
cc.push_back(c);
|
||||
|
|
Ładowanie…
Reference in New Issue