mirror of
https://github.com/transmission/transmission
synced 2025-02-20 21:26:53 +00:00
remove a couple of unnecessary torrentIsLocked() assertions for #5168
This commit is contained in:
parent
079c78981c
commit
399c3233b7
2 changed files with 0 additions and 2 deletions
|
@ -1585,7 +1585,6 @@ tr_announcerStats (const tr_torrent * torrent, int * setmeTrackerCount)
|
|||
const time_t now = tr_time ();
|
||||
|
||||
assert (tr_isTorrent (torrent));
|
||||
assert (tr_torrentIsLocked (torrent));
|
||||
|
||||
tt = torrent->tiers;
|
||||
|
||||
|
|
|
@ -359,7 +359,6 @@ getExistingAtom (const Torrent * t,
|
|||
const tr_address * addr)
|
||||
{
|
||||
Torrent * tt = (Torrent*)t;
|
||||
assert (torrentIsLocked (t));
|
||||
return tr_ptrArrayFindSorted (&tt->pool, addr, comparePeerAtomToAddress);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue