Skip to content

Commit 30ede57

Browse files
mpu_wrappers_v2.c: fix cpp build warnings
fix cpp build warning due to missing braces around initialization of subobject with xKernelObjectPool array Fixes: MCUSDK-14291 Signed-off-by: Don Dominic <don.dominic@ti.com>
1 parent 9256c17 commit 30ede57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

portable/Common/mpu_wrappers_v2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250
/**
251251
* @brief Kernel object pool.
252252
*/
253-
PRIVILEGED_DATA static KernelObject_t xKernelObjectPool[ configPROTECTED_KERNEL_OBJECT_POOL_SIZE ] = { 0 };
253+
PRIVILEGED_DATA static KernelObject_t xKernelObjectPool[ configPROTECTED_KERNEL_OBJECT_POOL_SIZE ] = { { 0 } };
254254
/*-----------------------------------------------------------*/
255255

256256
static int32_t MPU_GetFreeIndexInKernelObjectPool( void ) /* PRIVILEGED_FUNCTION */

0 commit comments

Comments
 (0)