[tor-bugs] #9261 [- Select a component]: Avoid 'unused parameter' warning

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jul 15 13:46:27 UTC 2013


#9261: Avoid 'unused parameter' warning
----------------------------------+-----------------------------------------
 Reporter:  ln5                   |          Owner:     
     Type:  defect                |         Status:  new
 Priority:  normal                |      Milestone:     
Component:  - Select a component  |        Version:     
 Keywords:                        |         Parent:     
   Points:                        |   Actualpoints:     
----------------------------------+-----------------------------------------
 I see

     src/test/test_circuitlist.c:67: warning: unused parameter 'arg'

 on a FreeBSD system with gcc 4.2.1.

 Fixed in branch unused_param (based on fancy_test_tricks) in my public
 repo.

 Question is why I didn't see it on a Linux system with gcc 4.7.2.

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


More information about the tor-bugs mailing list