Pattern: Redundant logical disjunction
Issue: -
Logical disjunction always evaluates to true: foo > 3 && foo < 4
. Are these conditions necessary? Did you intend to use &&
instead? Are the numbers correct? Are you comparing the correct variables?