Inspection Details
Empty If Block
- Description
- An empty conditional branch without any executable statements, leaves a maintainer wondering about the intent of the code. Avoid writing code that doesn't need to be written.
- Message
- Empty conditional branch
- Type
- Code Quality Issues
- Default Severity
- Warning
Back to List