mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
Remove unused parameter
This commit is contained in:
parent
e21f46d824
commit
c64e433a69
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue