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

Example Code:


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

extern int16_t rule_0203( void )
{
    typedef int INT;                    /* Not compliant */
    char cx;

    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