Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jan 2006 11:40:32 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netncp ncp_conn.c
Message-ID:  <200601141140.k0EBeWlE061967@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2006-01-14 11:40:32 UTC

  FreeBSD src repository

  Modified files:
    sys/netncp           ncp_conn.c 
  Log:
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601141140.k0EBeWlE061967>