[previous] 3211 [next] The global identifier '%s' is defined here but is not used in this translation unit.
Declarations and Definitions

This object is being defined with external linkage in a source file in which it is never used. Perhaps it could be defined in one of the modules where it is used. This might improve maintainability

For example:


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

int        gb = 0;            /* Message 3211 */
int        gc;                /* Message 3211 */

extern void foo(void)
{
    return;
}

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