Community
Participate
Working Groups
If I have the following code, doSomething() happens everytime, and it takes me a while to figure why the heck expr is true when it should be false =) if (expr); { doSomething(); }
This would be handled by the warning for empty statement. Check the compiler preference page (second item from the bottom on the Style tab folder).
Indeed, we have now ability to flag empty control flow statements.