cvs commit: src/sys/netncp ncp_conn.c

Robert Watson rwatson at
Sat Jan 14 03:40:33 PST 2006

rwatson     2006-01-14 11:40:32 UTC

  FreeBSD src repository

  Modified files:
    sys/netncp           ncp_conn.c 
  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)
  MFC after:      3 days
  Revision  Changes    Path
  1.28      +1 -7      src/sys/netncp/ncp_conn.c

More information about the cvs-src mailing list