diff --git a/libtransmission/torrents.cc b/libtransmission/torrents.cc index b6733a043..bc3819334 100644 --- a/libtransmission/torrents.cc +++ b/libtransmission/torrents.cc @@ -44,7 +44,6 @@ struct CompareTorrentByHash tr_torrent* tr_torrents::get(tr_torrent_id_t id) { - TR_ASSERT(0 < id); TR_ASSERT(static_cast(id) < std::size(by_id_)); if (static_cast(id) >= std::size(by_id_)) {