Synopsis: | Do not use nested assignments. |
Language: | C |
Severity Level: | 8 |
Category: | Expressions |
Description: |
Justification Nested assignments are most of the time used unintentionally causing unexpected behavior. Example x = /* WRONG */ y = z = 0; x = 0; /* RIGHT */ y = 0; z = 0; |