[tor-bugs] #25645 [Core Tor/Tor]: n_possible variable goes unused in channel_get_for_extend()
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Mar 27 16:56:56 UTC 2018
#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
More information about the tor-bugs
mailing list