Skip to content

Commit 7ab9a6e

Browse files
committed
Fix warning: missing braces around initializer
1 parent b39e565 commit 7ab9a6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mempools.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ typedef struct {
3131
} appconf_container_t;
3232

3333
// Private variables
34-
static mcconf_container_t m_mc_confs[MEMPOOLS_MCCONF_NUM] = {0};
35-
static appconf_container_t m_app_confs[MEMPOOLS_APPCONF_NUM] = {0};
34+
static mcconf_container_t m_mc_confs[MEMPOOLS_MCCONF_NUM] = {{0}};
35+
static appconf_container_t m_app_confs[MEMPOOLS_APPCONF_NUM] = {{0}};
3636
static int m_mcconf_highest = 0;
3737
static int m_appconf_highest = 0;
3838

0 commit comments

Comments
 (0)