]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Merge ncp_conn.c:1.28 from HEAD to RELENG_6:
authorrwatson <rwatson@FreeBSD.org>
Tue, 14 Feb 2006 21:55:15 +0000 (21:55 +0000)
committerrwatson <rwatson@FreeBSD.org>
Tue, 14 Feb 2006 21:55:15 +0000 (21:55 +0000)
commit88e317a7ac4c4fa041e9c985df2a93ebedf4718d
tree159f67c11b166a1fd62c681ce9d11bee8743260b
parent1a12c93e91a82983c29514911ff22ac29764419b
Merge ncp_conn.c:1.28 from HEAD to RELENG_6:

  In ncp_sysctl_connstat(), the SLIST_FOREACH() logic to check 'error'
  resulted in deadcode, as 'error' could never be 0.  What this logic
  was originally meant to handle is not clear -- it's been this way
  (broken) since at least RELENG_4.

  Found with:     Coverity Prevent(tm)

Approved by: re (scottl)
sys/netncp/ncp_conn.c