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

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Fri Jun 3 16:41:12 PDT 2022


Issue #3017 has been updated by tuxillo.

Status changed from New to Closed
Assignee set to bycn82

Fixed in commit:992b3001a225605640debab1be6feab6e367bb5e

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

* Author: dcb
* Status: Closed
* Priority: Normal
* Assignee: bycn82
* Target version: 6.4
* Start date: 2017-04-11
----------------------------------------
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