[DragonFlyBSD - Bug #3017] (New) sbin/ipfw3/ipfw3.c:2519: redundant compare ?

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Tue Apr 11 11:22:44 PDT 2017


Issue #3017 has been reported by dcb.

----------------------------------------
Bug #3017: sbin/ipfw3/ipfw3.c:2519: redundant compare ?
http://bugs.dragonflybsd.org/issues/3017

* Author: dcb
* Status: New
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
dragonfly/sbin/ipfw3/ipfw3.c:2519] -> [dragonfly/sbin/ipfw3/ipfw3.c:2519]: (style) Same expression on both sides of '||'.

        if (!strncmp(*av, "show", strlen(*av)) ||
            !strncmp(*av, "show", strlen(*av))) {




-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list