[previous] 2011 [next] The 'register' storage class specifier has been used.
Declarations and Definitions

This declaration includes the storage-class specifier 'register'. This is a hint to the compiler but it is probably of little value because most modern compilers will perform register optimisation more effectively than a programmer.

For example:


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

extern void foo(void)
{
    register int i;             /* Message 2011 */
}

See also:

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