forked from townforge/townforge
db_lmdb: fix unused variable
This commit is contained in:
parent
ac5826ebc0
commit
ddb740f4b6
@ -6408,7 +6408,7 @@ void BlockchainLMDB::delete_cc_city(uint32_t id)
|
||||
result = mdb_cursor_del(m_cur_cc_cities, 0);
|
||||
if (result)
|
||||
throw0(DB_ERROR(lmdb_error("Error deleting city " + std::to_string(id) + ": ", result).c_str()));
|
||||
delete_cc_account(cd.treasury);
|
||||
delete_cc_account(treasury);
|
||||
}
|
||||
|
||||
void BlockchainLMDB::set_cc_city_mayor(uint32_t id, uint32_t mayor)
|
||||
|
Loading…
Reference in New Issue
Block a user