1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-10 23:07:59 +00:00

Delete unreachable code

This commit is contained in:
Chocobo1 2022-05-01 13:55:06 +08:00
parent 64d8db0c93
commit a1903e5d67
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

@ -2275,8 +2275,6 @@ nonstd::expected<lt::entry, QString> TorrentImpl::exportTorrent() const
{ {
return nonstd::make_unexpected(QString::fromLocal8Bit(err.what())); return nonstd::make_unexpected(QString::fromLocal8Bit(err.what()));
} }
return nonstd::make_unexpected(tr("Unexpected error"));
} }
nonstd::expected<QByteArray, QString> TorrentImpl::exportToBuffer() const nonstd::expected<QByteArray, QString> TorrentImpl::exportToBuffer() const