Pattern: Duplicate expression ternary
Issue: -
Finding the same expression in both branches of ternary operator is suspicious as the same code is executed regardless of the condition.
Pattern: Duplicate expression ternary
Issue: -
Finding the same expression in both branches of ternary operator is suspicious as the same code is executed regardless of the condition.