Skip to content

Commit

Permalink
Fix MISRA C 2012 Rule 9.3 violations (#973)
Browse files Browse the repository at this point in the history
Co-authored-by: Gaurav-Aggarwal-AWS <[email protected]>
  • Loading branch information
bradleysmith23 and aggarg authored Feb 1, 2024
1 parent edd35e8 commit cd8c6c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portable/Common/mpu_wrappers_v2.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@
/**
* @brief Kernel object pool.
*/
PRIVILEGED_DATA static KernelObject_t xKernelObjectPool[ configPROTECTED_KERNEL_OBJECT_POOL_SIZE ] = { NULL };
PRIVILEGED_DATA static KernelObject_t xKernelObjectPool[ configPROTECTED_KERNEL_OBJECT_POOL_SIZE ] = { 0 };
/*-----------------------------------------------------------*/

static int32_t MPU_GetFreeIndexInKernelObjectPool( void ) /* PRIVILEGED_FUNCTION */
Expand Down

0 comments on commit cd8c6c1

Please sign in to comment.