Remove unused variable

sql-rework
Tomasz Golinski 2020-08-06 23:51:29 +02:00
rodzic 1c5f7bfe98
commit c4a58021c9
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

@ -363,7 +363,6 @@ Caches OCdb::get_user_caches(const std::string& uuid, __attribute__((unused)) in
Caches OCdb::get_user_caches_owned(const std::string& uuid) const {
int res;
Caches cc;
//code TEXT PRIMARY KEY, name TEXT, location TEXT, type TEXT, status TEXT, size TEXT, difficulty REAL, terrain REAL, country TEXT, region TEXT, owner TEXT)
sql = "SELECT code, location, type, size, difficulty, terrain, country, region, owner, status, name FROM caches WHERE owner = ?;";