Skip to content
Snippets Groups Projects
Commit 00f99d9a authored by Konstantinos Sideris's avatar Konstantinos Sideris
Browse files

Fix variable shadowing on clang

parent e4dedbca
No related branches found
No related tags found
No related merge requests found
......@@ -878,9 +878,9 @@ Cache::saveState(const mtx::responses::Sync &res)
txn.commit();
for (const auto &room : res.rooms.join) {
auto txn = lmdb::txn::begin(env_);
notifyForReadReceipts(txn, room.first);
txn.commit();
auto tmpTxn = lmdb::txn::begin(env_);
notifyForReadReceipts(tmpTxn, room.first);
tmpTxn.commit();
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment