[Bug 207857] usr/src/sys/contrib/ncsw/etc/mm.c:328: pointless test ?
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Mar 9 19:37:10 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207857
Bug ID: 207857
Summary: usr/src/sys/contrib/ncsw/etc/mm.c:328: pointless test
?
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: dcb314 at hotmail.com
usr/src/sys/contrib/ncsw/etc/mm.c:328]: (style) Redundant condition:
alignBase<end. 'A || (!A && B)' is equivalent to 'A || B'
Source code is
if ( alignBase >= end ||
(alignBase < end && ((end-alignBase) < alignment)) )
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list