test_map: fix uninitialized area

Coverity complained about the code using an uninitialized chunk of
memory; harmless, but fixed to avoid having to whitelist.

Change-Id: I5c890ff78fab2799b882b8e4a25c15476702d132
Coverity-ID: 152049
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
This commit is contained in:
Inaky Perez-Gonzalez 2016-11-18 12:31:57 -08:00 committed by Anas Nashif
commit dd87d9b595

View file

@ -86,6 +86,7 @@ void HelperTask(void)
{
void *ptr[NUMBLOCKS]; /* Pointer to memory block */
memset(ptr, 0, sizeof(ptr)); /* keep static checkers happy */
/* Wait for part 1 to complete */
task_sem_take(SEM_REGRESSDONE, TICKS_UNLIMITED);