Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jul 2015 16:23:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-testing@freebsd.org
Subject:   [Bug 201286] tools/regression/security/open_to_operation/open_to_operation.c:172: bad if test ?
Message-ID:  <bug-201286-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@freebsd.org
          Reporter: dcb314@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201286-32464>