[previous] 4153 [next] The identifier '%s' may cause confusion because the letter 'O' and the number '0' are adjacent.
Identifiers

The letter 'O' and the number '0' are adjacent characters in this identifier.

These characters are so similar that confusion.may result.

For example:


/*PRQA S 3211,3408 ++*/

int    aO;                                /*              */
int    bOO;                               /*              */
int    cOOO;                              /*              */

int    a0;                                /*              */
int    b00;                               /*              */
int    c000;                              /*              */

int    xO0;                               /* Message 4153 */
int    Ox0;                               /*              */


No MISRA C:2012 Rules applicable to message 4153


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