From a1903e5d67eaca0e85d845fcb4542c8d4341ccf3 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 1 May 2022 13:55:06 +0800 Subject: [PATCH] Delete unreachable code --- src/base/bittorrent/torrentimpl.cpp | 2 -- 1 file changed, 2 deletions(-) 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