[tor-bugs] #31530 [Core Tor/Tor]: Shall we require STMT_BEGIN/STMT_END everywhere?

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 26 23:12:32 UTC 2019


#31530: Shall we require STMT_BEGIN/STMT_END everywhere?
-------------------------------+--------------------------------
     Reporter:  nickm          |      Owner:  (none)
         Type:  defect         |     Status:  new
     Priority:  Medium         |  Milestone:  Tor: 0.4.2.x-final
    Component:  Core Tor/Tor   |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:  0.1            |  Parent ID:
       Points:                 |   Reviewer:
      Sponsor:  Sponsor31-can  |
-------------------------------+--------------------------------
 We use STMT_BEGIN/STMT_END in some places, and do...while(0) in others.
 Let's pick which we prefer, and make it universal.

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


More information about the tor-bugs mailing list