2024-07-21 08:48 PM - edited 2024-07-21 08:55 PM
In the ethernetif.c file,
typedef enum { RX_ALLOC_OK = 0x00, RX_ALLOC_ERROR = 0x01 } RxAllocStatusTypeDef; // Here, RxAllocStatusTypeDef type is not used. |
It says that RxAllocStatusTypeDef is not used, which violates misra-c:2012 2.3.
Inferentially, this would require changing the type in the following code:
[before]
static uint8_t RxAllocStatus; |
[after]
static RxAllocStatusTypeDef RxAllocStatus; |
It looks like the code should be changed, what do you think?
Solved! Go to Solution.
2024-07-22 02:12 AM
Hello @lovewar;,
Thank you for your report and for bringing this to our attention.
Internal ticket number: 187110
With Regards,
2024-07-22 02:12 AM
Hello @lovewar;,
Thank you for your report and for bringing this to our attention.
Internal ticket number: 187110
With Regards,