![]() |
![]() |
3202 | ![]() |
||||
![]() | |||||||
| Redundancy | REFERENCE - ISO:C90-6.6.1 Labeled Statements | ||||||
A label that is not used is harmless except that, like any other redundancy in code, it may cause confusion and is best avoided. For example:
/*PRQA S 2006,2015,2017,2201,3227,3408 ++*/
extern int foo(int i, int j)
{
int r = 0;
if (i && j)
{
r = 1;
}
A: return r; /* Message 3202 */
}
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |