![]() |
![]() |
3229 | ![]() |
||||
![]() | |||||||
| Redundancy | |||||||
This object is declared with internal linkage It is assigned a value but the value isn't used anywhere within this translation unit. Is it really required ? For example:
/*PRQA S 2017,3408,3602 ++*/
static int b; /* Message 3229 */
void f1(const int n)
{
b = n;
return;
}
void f2(const int n)
{
b = n + 1;
return;
}
No MISRA C:2012 Rules applicable to message 3229
See also:
![]() | ||
| QA·C Source Code Analyser 8.1
MISRA C:2012 Compliance Module 1.0 © 2012 Programming Research. www.programmingresearch.com | Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index | Contents |