Date: Wed, 09 Mar 2016 19:37:10 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 207857] usr/src/sys/contrib/ncsw/etc/mm.c:328: pointless test ? Message-ID: <bug-207857-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207857 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@FreeBSD.org Reporter: dcb314@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 >=3D end || (alignBase < end && ((end-alignBase) < alignment)) ) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207857-8>