21-02-2018, 11:57 AM
tm_uint8 get_DrvPosn_D_SvRc_Rq(void); is defined only once in the project as follows:
in one.c file
Now it is called in another c(two.c) file as follow:
It is used like this only in the entire project. It is not used in any other file apart from this 2 files.
So, is it a MISRA violation or false positive?
Code:
tm_uint8 get_DrvPosn_D_SvRc_Rq(void)
{
return cio_DrvPosn_D_SvRc_Rq;
}
Now it is called in another c(two.c) file as follow:
Code:
dies->DrvPosn_D_SvRc_Rq = get_DrvPosn_D_SvRc_Rq();
It is used like this only in the entire project. It is not used in any other file apart from this 2 files.
So, is it a MISRA violation or false positive?
<t></t>