[previous] MISRA C:2012  Rule-2.5:  (Advisory) [next] A project should not contain unused macro declarations

Example Code:


#include "misra.h"
#include "m3cmex.h"

#define UNUSED_MACRO 1

extern int16_t rule_0205( void )
{

    return 1;
}


No QAC messages cover this rule.



(c) The Motor Industry Research Association, 2012
QA C Source Code Analyser 8.1.2
MISRA C:2012 Compliance Module 1.0
© 2013 Programming Research
www.programmingresearch.com
Personality Groups | Glossary | Message Index | MISRA C:2012 Rule Index Contents