diff --git a/src/base/bittorrent/torrentimpl.cpp b/src/base/bittorrent/torrentimpl.cpp index 2b7a28e34..dfd1834f1 100644 --- a/src/base/bittorrent/torrentimpl.cpp +++ b/src/base/bittorrent/torrentimpl.cpp @@ -2275,8 +2275,6 @@ nonstd::expected TorrentImpl::exportTorrent() const { return nonstd::make_unexpected(QString::fromLocal8Bit(err.what())); } - - return nonstd::make_unexpected(tr("Unexpected error")); } nonstd::expected TorrentImpl::exportToBuffer() const