Date: Wed, 09 Mar 2016 19:45:21 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 207859] usr/src/sys/dev/bhnd/bhndb/bhndb.c:1061: pointless test ? Message-ID: <bug-207859-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207859 Bug ID: 207859 Summary: usr/src/sys/dev/bhnd/bhndb/bhndb.c:1061: pointless test ? Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: dcb314@hotmail.com usr/src/sys/dev/bhnd/bhndb/bhndb.c:1061] -> [usr/src/sys/dev/bhnd/bhndb/bhndb.c:1061]: (style) Same expression on both sides of '||'. Source code is if (start > end || end < start || count > ((end - start) + 1)) return (NULL); Suggest remove pointless test. --=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-207859-8>