Project

General

Profile

Bug #3017

sbin/ipfw3/ipfw3.c:2519: redundant compare ?

Added by dcb about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
04/11/2017
Due date:
% Done:

0%


Description

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))) {

Also available in: Atom PDF