CERT.LITERAL.CHAR.CONST

Use of literal char constant, use meaningful symbolic constants to represent literal values.

Checker highlights instances of literal char constants excluding empty or const/static declarations.

Vulnerability and risk

Use of literal constants can reduce the readability and maintainability of the source code

Prevention

Use named constants to clearly define the meaning of constants