![]() |
![]() |
0745 | ![]() |
||||
![]() | |||||||
| Explicitly undefined | REFERENCE - ISO:C90-6.6.6.4 The return Statement - Semantics | ||||||
This return statement has no return expression but the function has been defined with a non-void return type. The value returned will be undefined. For example:
/*PRQA S 2017,3408 ++*/
extern float foo(void)
{
/* ... */
return; /* Messages 0745 and 1325 */
}
N.B. Messages 0745 and 1325 are functionally identical
See also:
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |