![]() |
![]() |
2880 | ![]() |
||||
![]() | |||||||
| Control flow | |||||||
This statement will never be executed. Perhaps this is the result of a mistake in some previous logic ? For example:
/*PRQA S 2017,3120,3201,3227,3356,3359,3408 ++*/
int foo(int m)
{
int r = 0;
if (m > 10)
{
if (m < 5) /* 2992 2996 */
{
r = 1; /* 2880 */ /* unreachable */
}
}
return r;
}
![]() | ||
| QA·C Source Code Analyser 8.1.2
© 2013 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | Contents |