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

[tor-bugs] #25645 [Core Tor/Tor]: n_possible variable goes unused in channel_get_for_extend()



#25645: n_possible variable goes unused in channel_get_for_extend()
------------------------------+--------------------
     Reporter:  arma          |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  easy
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------
 {{{
 $ grep n_possible *.c
 channel.c:  int n_noncanonical = 0, n_possible = 0;
 channel.c:    ++n_possible;
 }}}

 All we do is start it off at 0, and increment it sometimes.

 Maybe it had a purpose once, but it doesn't anymore.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25645>
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