This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
We are getting an unwarranted MISRA 9.2 warning on the zero initialisation of unsigned int arraya2 below. The zero initialisation of signed int arraya3 does not generate the warning.
unsigned int arraya2[5] = { 0U };
signed int arraya3[5] = { 0 };
(MISRA-C:2004 9.2/R) Braces shall be used to indicate and match the structure in the non-zero initialisation of arrays and structures.
Regards,
Tony.
Tony,
I submitted this issue into our bug tracking system as SDSCM00038504. You may track the status using the SDOWP link in my signature.