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:
parent
64d8db0c93
commit
a1903e5d67
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user