CA017 - Empty conditional

Description

An empty conditional instruction is useless and should be removed.

Scope Instruction
Status Enabled
Severity Warning
Applicability All
Score 50

Example of violation

if x and y then end do_something_else

Recommendation

Remove the useless conditional. In the example, simply keep:

do_something_else

cached: 02/23/2019 4:43:53.000 AM