diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-01-14 11:40:32 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-01-14 11:40:32 +0000 |
commit | c3a7d3e5b2aaba4615dfe7627799169f8c59fb9a (patch) | |
tree | 461265ad7a11d94e2d6d56ac36ffe5fb00678c0a /sys/netncp/ncp_lib.h | |
parent | aedf24a684f432770f73a575208ff7f201a475cc (diff) | |
download | FreeBSD-src-c3a7d3e5b2aaba4615dfe7627799169f8c59fb9a.zip FreeBSD-src-c3a7d3e5b2aaba4615dfe7627799169f8c59fb9a.tar.gz |
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
Diffstat (limited to 'sys/netncp/ncp_lib.h')
0 files changed, 0 insertions, 0 deletions