Reports if, while, do or for statements with empty bodies. While occasionally intended, this construction is confusing, and often the result of a typo.

Example:


if (condition) {}
while(true){}