[previous] 4152 [next] The identifier '%s' may cause confusion because the letter 'l' and the number '1' are adjacent.
Identifiers

The letter 'l' and the number '1' are adjacent characters in this identifier.

These characters are so similar that confusion.may result.

For example:


/*PRQA S 3211,3408 ++*/


int    al;                                /*              */
int    bll;                               /*              */
int    clll;                              /*              */

int    a1;                                /*              */
int    b11;                               /*              */
int    c111;                              /*              */

int    xl1;                               /* Message 4152 */
int    lx1;                               /*              */



No MISRA C:2012 Rules applicable to message 4152


See also:

QA·C Source Code Analyser 8.1
MISRA C:2012 Compliance Module 1.0
© 2012 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index Contents