Browse Source

Delete unreachable code

adaptive-webui-19844
Chocobo1 3 years ago
parent
commit
a1903e5d67
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      src/base/bittorrent/torrentimpl.cpp

2
src/base/bittorrent/torrentimpl.cpp

@ -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…
Cancel
Save