mirror of
https://github.com/transmission/transmission
synced 2024-12-22 07:42:37 +00:00
remove TR_ASSERT(now >= latest) (#7018)
This commit is contained in:
parent
21d7720749
commit
f5997eb5ed
1 changed files with 0 additions and 1 deletions
|
@ -832,7 +832,6 @@ struct tr_torrent
|
||||||
{
|
{
|
||||||
if (auto const latest = std::max(date_started_, date_active_); latest != 0)
|
if (auto const latest = std::max(date_started_, date_active_); latest != 0)
|
||||||
{
|
{
|
||||||
TR_ASSERT(now >= latest);
|
|
||||||
return static_cast<size_t>(std::max(now - latest, time_t{ 0 }));
|
return static_cast<size_t>(std::max(now - latest, time_t{ 0 }));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue