Skip to content

Commit

Permalink
Remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobo1 committed May 21, 2021
1 parent e21f46d commit c64e433
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/base/bittorrent/dbresumedatastorage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ void BitTorrent::DBResumeDataStorage::createDB() const
if (!db.commit())
throw RuntimeError(db.lastError().text());
}
catch (const RuntimeError &err)
catch (const RuntimeError &)
{
db.rollback();
throw;
Expand Down Expand Up @@ -563,7 +563,7 @@ void BitTorrent::DBResumeDataStorage::Worker::storeQueue(const QVector<TorrentID
if (!db.commit())
throw RuntimeError(db.lastError().text());
}
catch (const RuntimeError &err)
catch (const RuntimeError &)
{
db.rollback();
throw;
Expand Down

0 comments on commit c64e433

Please sign in to comment.