From c64e433a69237e02baab17d77e1fc820b3047536 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 21 May 2021 14:44:19 +0800 Subject: [PATCH] Remove unused parameter --- src/base/bittorrent/dbresumedatastorage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/base/bittorrent/dbresumedatastorage.cpp b/src/base/bittorrent/dbresumedatastorage.cpp index 5ac322021..a86b173ef 100644 --- a/src/base/bittorrent/dbresumedatastorage.cpp +++ b/src/base/bittorrent/dbresumedatastorage.cpp @@ -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; @@ -563,7 +563,7 @@ void BitTorrent::DBResumeDataStorage::Worker::storeQueue(const QVector