[previous] 3212 [next] This cast is redundant.
Arithmetic type - Operations

This cast is redundant. No type conversion takes place.

For example:


/*PRQA S 3227,3408,3447 ++*/

extern int r;

extern void foo(int p)
{
    r = (int)p;                         /* Message 3212 */
}

QA·C Source Code Analyser 8.1.2
© 2013 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index Contents