MISRAC2004-9.3
In this section:
Synopsis
(Required) In an enumerator list, the `=' construct shall not be used to explicitily initialise members other than the first, unless all items are explicitily initialized.
Enabled by default
Yes
Severity/Certainty
Medium/Medium

Full description
Partially initialized enum.
Coding standards
This check does not correspond to any coding standard rules.
Code examples
The following code example fails the check and will give a warning:
enum E {
A = 1,
B = 2,
C
};
The following code example passes the check and will not give a warning about this issue:
enum E {
A = 1,
B,
C
};