[tor-bugs] #4065 [Vidalia]: Vidalia: No return in nonvoid function

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Sep 21 08:05:42 UTC 2011


#4065: Vidalia: No return in nonvoid function
-----------------------+----------------------------------------------------
 Reporter:  dmacvicar  |          Owner:  chiiph         
     Type:  defect     |         Status:  new            
 Priority:  normal     |      Milestone:                 
Component:  Vidalia    |        Version:  Vidalia: 0.2.12
 Keywords:             |         Parent:                 
   Points:             |   Actualpoints:                 
-----------------------+----------------------------------------------------
 Our build service static analyzer detects this error on
 ControlMethod.

 Simple patch attached. A better fix would be to have a "Unknown" enum
 member to support failed string conversions. This would require support in
 the code. The current patch just uses ControlMethod::Port in one case and
 everything else is ControlMethod::Socket.

 (I could not find Vidalia 0.2.14 in the version list)

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


More information about the tor-bugs mailing list