[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #22812 [Core Tor/Tor]: find_dl_min_and_max_delay's DL_SCHED_DETERMINISTIC case is never used



#22812: find_dl_min_and_max_delay's DL_SCHED_DETERMINISTIC case is never used
-------------------------+-------------------------------------------------
     Reporter:  teor     |      Owner:
         Type:  defect   |     Status:  new
     Priority:  Medium   |  Milestone:  Tor: 0.3.2.x-final
    Component:  Core     |    Version:  Tor: 0.2.9.5-alpha
  Tor/Tor                |   Keywords:  easy code-simplification technical-
     Severity:  Normal   |  debt mostly-harmless
Actual Points:           |  Parent ID:
       Points:  0.5      |   Reviewer:
      Sponsor:           |
-------------------------+-------------------------------------------------
 find_dl_min_and_max_delay is never called with DL_SCHED_DETERMINISTIC
 schedules. So we should just remove that case entirely. And replace it
 with a BUG() return.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/22812>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs