Clean up code

and remove unused parameters/variables.
This commit is contained in:
Chocobo1
2021-04-10 15:58:14 +08:00
parent d13be829c3
commit 53b7956968
3 changed files with 14 additions and 11 deletions

View File

@@ -1887,7 +1887,7 @@ void TorrentImpl::handleFileCompletedAlert(const lt::file_completed_alert *p)
}
#if (LIBTORRENT_VERSION_NUM >= 20003)
void TorrentImpl::handleFilePrioAlert(const lt::file_prio_alert *p)
void TorrentImpl::handleFilePrioAlert(const lt::file_prio_alert *)
{
if (m_nativeHandle.need_save_resume_data())
m_session->handleTorrentNeedSaveResumeData(this);