[tor-bugs] #26483 [Core Tor/Stem]: Static check results in "local variable 'exc' is assigned to but never used"

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jun 25 16:27:23 UTC 2018


#26483: Static check results in "local variable 'exc' is assigned to but never
used"
---------------------------+------------------------------
 Reporter:  dmr            |          Owner:  dmr
     Type:  defect         |         Status:  needs_review
 Priority:  Medium         |      Milestone:
Component:  Core Tor/Stem  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:  atagar         |        Sponsor:
---------------------------+------------------------------
Changes (by dmr):

 * status:  assigned => needs_review
 * reviewer:   => atagar


Comment:

 A simple patch is available on
 [[https://github.com/torproject/stem/pull/4|this GitHub pull request]].
 (Branch head `ebc9cdac9293e601a9351905105493ec9ea3abcf`.)

 I reviewed the implementation to see if it made sense to include something
 from / do something with the `exc` variable in these code blocks. It
 didn't look like it, so the commit just removes the ` as exc` part.

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


More information about the tor-bugs mailing list