]> git.ipfire.org Git - thirdparty/tor.git/commit
Remove a needless check in channel_tls_handle_incoming
authorNick Mathewson <nickm@torproject.org>
Fri, 7 Feb 2014 17:01:16 +0000 (12:01 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 7 Feb 2014 17:01:16 +0000 (12:01 -0500)
commit040b478692c2355515eec626044ea2e3c37ca9c5
tree6653d6081f0cfe8269fe05c53f34695d022fbdb0
parentef4eb823f3652cfbf5176c277cb21d30bc20d62a
Remove a needless check in channel_tls_handle_incoming

This patch removes an "if (chan)" that occurred at a place where
chan was definitely non-NULL.  Having it there made some static
analysis tools conclude that we were up to shenanigans.

This resolves #9979.
src/or/channeltls.c