[Bug 201286] tools/regression/security/open_to_operation/open_to_operation.c:172: bad if test ?
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jul 2 16:23:38 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201286
Bug ID: 201286
Summary: tools/regression/security/open_to_operation/open_to_op
eration.c:172: bad if test ?
Product: Base System
Version: 10.1-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: tests
Assignee: freebsd-testing at freebsd.org
Reporter: dcb314 at hotmail.com
tools/regression/security/open_to_operation/open_to_operation.c:172]: (style)
Same expression on both sides of '=='.
if (expected_errno && expected_errno == expected_errno)
ok_mode(testname, NULL, mode);
else if (expected_errno)
Even if the pointless comparison is removed, then the first
if and the second if are the same, so that needs rework too.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-testing
mailing list