[previous] 2205 [next] More than one declaration or statement on the same line.
Bracing and Indentation

This line contains more than one declaration or statement.

For example:


/*PRQA S 2017,3199,3203,3210,3408,3447 ++*/

extern int g1; extern int g2;    /* Message 2205 - two statements                  */
extern int g3, g4;               /* No message   - single declaration, two objects */

extern void foo(int p)
{
    int r;

    r = p; p++;                  /* Message 2205 - two statements                  */
}

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