Synopsis: | A statement must have a side-effect, i.e., it must do something. |
Language: | C++ |
Severity Level: | 1 |
Category: | Control Flow |
Description: |
Example: i == 1; // WRONG - operator == has no effect i; // WRONG - but legal! i++; // RIGHT - does something |