mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 07:57:22 -06:00
Delete unreachable code
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user