[tor-bugs] #14296 [Tor]: Avoid redundant check for NULL defport->unix_addr in config.c
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Jan 20 08:47:18 UTC 2015
#14296: Avoid redundant check for NULL defport->unix_addr in config.c
--------------------+------------------------------------
Reporter: teor | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.6.x-final
Component: Tor | Version: Tor: 0.2.6.2-alpha
Keywords: clang | Actual Points:
Parent ID: | Points:
--------------------+------------------------------------
Anything in the middle of a structure will always be non-null.
clang warns on this because it is redundant.
See my branch '''config-remove-redundant-assert''' in my '''teor2345'''
github.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14296>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list