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:
parent
c7e7089c36
commit
dd87d9b595
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ void HelperTask(void)
|
||||||
{
|
{
|
||||||
void *ptr[NUMBLOCKS]; /* Pointer to memory block */
|
void *ptr[NUMBLOCKS]; /* Pointer to memory block */
|
||||||
|
|
||||||
|
memset(ptr, 0, sizeof(ptr)); /* keep static checkers happy */
|
||||||
/* Wait for part 1 to complete */
|
/* Wait for part 1 to complete */
|
||||||
task_sem_take(SEM_REGRESSDONE, TICKS_UNLIMITED);
|
task_sem_take(SEM_REGRESSDONE, TICKS_UNLIMITED);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue