[tor-bugs] #2689 [Tor Relay]: Compiler warning when building Tor under clang/LLVM
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Wed Mar 9 14:44:11 UTC 2011
#2689: Compiler warning when building Tor under clang/LLVM
-----------------------+----------------------------------------------------
Reporter: sjmurdoch | Owner:
Type: defect | Status: new
Priority: trivial | Milestone:
Component: Tor Relay | Version: Tor: unspecified
Keywords: | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
Comment(by Sebastian):
Yes, this looks indeed like a superfluous cast. In the past we used to
check the return value of hid_serv_get_responsible_directories(), but now
we don't need to anymore. This was likely supposed to be either a (void)
cast or something else. Does removing the (int) fix the compile warning?
If so, that sounds like the best way forward. See svn commit r13258 (git
ba7a37cf9) for the change.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2689#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list