[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #8598 [Tor]: clang warning in circuitbuild.c switch statement
#8598: clang warning in circuitbuild.c switch statement
------------------------------+---------------------------------------------
Reporter: nickm | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.4.x-final
Component: Tor | Version:
Keywords: tor-client clang | Parent:
Points: | Actualpoints:
------------------------------+---------------------------------------------
In maint-0.2.4, building with clang 3.2 on fedora, I get:
{{{
src/or/circuitbuild.c:1946:11: error: enumeration values
'PATH_STATE_NEW_CIRC',
'PATH_STATE_BUILD_ATTEMPTED', and 'PATH_STATE_ALREADY_COUNTED' not
explicitly handled in switch [-Werror,-Wswitch-enum]
switch (ocirc->path_state) {
}}}
I have a fix for this; just adding this ticket so I can give it a bug
number.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/8598>
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