[previous] 0652 [next] Identifiers have been provided for some but not all of the parameters in a function prototype.
Functions REFERENCE - ISO:C90-6.5.4.3 Function Declarators - Semantics

Some of the parameters in this function prototype declaration have been named and some have not. Is this intended ?

For example:


/*PRQA S 553,2017,3210,3447 ++*/

extern void f1(int, long);              /* Message          1335 */

extern void f2(int x, long);            /* Message 0652 and 1335 */

extern void f3(int, long y);            /* Message 0652 and 1335 */

extern void f4(int x, long y);          /*                       */

See also:

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