Browse Source

Remove unused parameter

adaptive-webui-19844
Chocobo1 4 years ago
parent
commit
c64e433a69
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 4
      src/base/bittorrent/dbresumedatastorage.cpp

4
src/base/bittorrent/dbresumedatastorage.cpp

@ -386,7 +386,7 @@ void BitTorrent::DBResumeDataStorage::createDB() const
if (!db.commit()) if (!db.commit())
throw RuntimeError(db.lastError().text()); throw RuntimeError(db.lastError().text());
} }
catch (const RuntimeError &err) catch (const RuntimeError &)
{ {
db.rollback(); db.rollback();
throw; throw;
@ -563,7 +563,7 @@ void BitTorrent::DBResumeDataStorage::Worker::storeQueue(const QVector<TorrentID
if (!db.commit()) if (!db.commit())
throw RuntimeError(db.lastError().text()); throw RuntimeError(db.lastError().text());
} }
catch (const RuntimeError &err) catch (const RuntimeError &)
{ {
db.rollback(); db.rollback();
throw; throw;

Loading…
Cancel
Save