(char *) NULL or char * msg = NULL triggers MISRA 10.5: The value of an expression should not be cast to an inappropriate essential type. So what is the correct way to cast NULL to some pointer? N.B.: I am using MISRA checks in CLion. >Solution : Assuming you didn’t define a home-made version… Read More How to properly cast NULL according to MISRA?
I’m getting a warning while running static code analysis, as below: This output parameter value is not subsequently checked. And in the code I was using a variable which is non Bool. Can someone help me here? >Solution : Note code should be written to most clearly indicate the intent. So people start discovering some… Read More QA_WARNING: This output parameter value is not subsequently checked