diff --git a/binfmt/binfmt_globals.c b/binfmt/binfmt_globals.c index ea01ab025b2..94f98f13d49 100644 --- a/binfmt/binfmt_globals.c +++ b/binfmt/binfmt_globals.c @@ -56,7 +56,7 @@ * protection to simply disable pre-emption when accessing this list. */ -FAR struct binfmt_s *g_binfmts; +FAR struct binfmt_s *g_binfmts = NULL; /**************************************************************************** * Private Functions diff --git a/mm/umm_heap/umm_globals.c b/mm/umm_heap/umm_globals.c index 012aac76315..a00ce3c4ec6 100644 --- a/mm/umm_heap/umm_globals.c +++ b/mm/umm_heap/umm_globals.c @@ -64,5 +64,5 @@ #else /* Otherwise, the user heap data structures are in common .bss */ -struct mm_heap_s g_mmheap; +struct mm_heap_s g_mmheap = {}; #endif