[tor-bugs] #4616 [Tor Relay]: set_buffer_lengths_to_zero is unused if bufferevents is not enabled on Windows

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Nov 30 20:23:45 UTC 2011


#4616: set_buffer_lengths_to_zero is unused if bufferevents is not enabled on
Windows
-----------------------+----------------------------------------------------
 Reporter:  sjmurdoch  |          Owner:     
     Type:  defect     |         Status:  new
 Priority:  normal     |      Milestone:     
Component:  Tor Relay  |        Version:     
 Keywords:             |         Parent:     
   Points:             |   Actualpoints:     
-----------------------+----------------------------------------------------
 if bufferevents are not enabled, on Windows, set_buffer_lengths_to_zero is
 defined but unused. This causes a gcc warning (or error, if -Werror is
 set). The attached patch only enables set_buffer_lengths_to_zero if on
 Windows and bufferevents are enabled.

 Applied on b5a306e82c684bdd30b832fdfd9e2b55c06b54ae

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


More information about the tor-bugs mailing list