[tor-bugs] #18902 [Core Tor/Tor]: Avoid variable shadowing in Tor

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Apr 29 13:40:59 UTC 2016


#18902: Avoid variable shadowing in Tor
---------------------------+------------------------------
 Reporter:  teor           |          Owner:
     Type:  defect         |         Status:  new
 Priority:  Medium         |      Milestone:  Tor: 0.2.???
Component:  Core Tor/Tor   |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:  easy refactor  |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+------------------------------

Comment (by cypherpunks):

 FWIW GCC and clang both have `-Wshadow` which detect these cases.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/18902#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list