![]() |
![]() |
0428 | ![]() |
||||
![]() | |||||||
| Functions | REFERENCE - ISO:C90-6.2.2.1 Lvalues and Function Designators | ||||||
A function identifier is being used without parentheses and it therefore represents a constant pointer value (the address of the function), rather than a call to the function. In this particular context a constant pointer value does not make sense. Other messages will probably be generated including message 3635. For example:
/*PRQA S 3408,3447 ++*/
extern int foo( void );
extern void func( void )
{
foo; /* Message 0428 + 3635 + 3112 - no side effects */
if (foo) /* Message 0428 + 3635 + 3344 */
{
}
}
See also:
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |