![]() |
![]() |
0747 | ![]() |
||||
![]() | |||||||
| Constraint violations | REFERENCE - ISO:C90-6.6.6.4 The return Statement - Constraints | ||||||
This is a constraint error This return expression appears in a function with a qualified void return type. This is not allowed. For example:
/*PRQA S 553,2017,3219,3227,3408,3602 ++*/
extern const void foo1(int n)
{ /* Message 0654 */
return n; /* Message 0747 */
}
extern void foo2(int n)
{
return n; /* Message 0746 */
}
See also:
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |