[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #2689 [Tor Relay]: Compiler warning when building Tor under clang/LLVM
#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:
-----------------------+----------------------------------------------------
With Git master (26009a3), building Tor under clang generates a compiler
warning:
rendclient.c:407:3: warning: expression result unused [-Wunused-value]
(int) hid_serv_get_responsible_directories(responsible_dirs, desc_id);
I presume the problem is the int cast, but it seems to do nothing so is
there a reason to include it in the first place?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2689>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs