[tor-bugs] #18889 [Core Tor/Tor]: Remove needless MIN/MAX definitions.

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 25 19:25:19 UTC 2016


#18889: Remove needless MIN/MAX definitions.
------------------------------+--------------------------
     Reporter:  nickm         |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  029-proposed
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------
 We define the MIN/MAX macros in compat.h.

 We also define MIN in crypto.c, circuitbuild.c, and test-memwipe.c.
 eventdns.c gets a pass since it's in src/ext.

 Let's remove the redundant ones.

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


More information about the tor-bugs mailing list