W3001 Warnings
empty-block
block statement is empty
When this occurs
Empty body in if/for/while/function
Example error message
warning[W3001]:
if statement has empty body
How to fix
Add code to the block, add a comment explaining why it's empty, or suppress with `@Suppress(W3001)`.
Related errors
No related errors.