diff --git a/src/qtlibtorrent/qtorrenthandle.cpp b/src/qtlibtorrent/qtorrenthandle.cpp index 83b2f59fb..6c192f860 100644 --- a/src/qtlibtorrent/qtorrenthandle.cpp +++ b/src/qtlibtorrent/qtorrenthandle.cpp @@ -420,7 +420,6 @@ QStringList QTorrentHandle::absolute_files_path_uneeded() const { QDir saveDir(save_path()); QStringList res; std::vector fp = torrent_handle::file_priorities(); - torrent_info::file_iterator fi = torrent_handle::get_torrent_info().begin_files(); for(int i = 0; i < num_files(); ++i) { if(fp[i] == 0) { const QString file_path = QDir::cleanPath(saveDir.absoluteFilePath(filepath_at(i)));