[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #14296 [Tor]: Avoid redundant check for NULL defport->unix_addr in config.c



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs