![]() |
![]() |
0564 | ![]() |
||||
![]() | |||||||
| Constraint violations | REFERENCE - ISO:C90-6.3.16 Assignment Operators - Constraints | ||||||
This is a constraint error The left hand operand of this assignment operator is not an lvalue. For example:
/*PRQA S 506,3205,3227,3314,3326,3344,3408,3416,3447,4150 ++*/
extern int g;
void foo(void * pv)
{
int l;
*pv = 0; /* Message 0564 and also 0555 */
1 = g; /* Message 0564 (Number "1" mistyped instead of letter "l") */
}
See also:
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |