Closed lcartey closed 1 month ago
RULE-2-2
Rule 2.2 for MISRA C is restricted to operations, however the query currently reports statements.
(void) 0; // COMPLIANT if (true) { // COMPLIANT - not operation }
Affected rules
RULE-2-2
Description
Rule 2.2 for MISRA C is restricted to operations, however the query currently reports statements.
Example