semaphore:sem_holder sem_findholder missing inintalization of pholder

sem_findholder would fail and code optimization coverd this up.
This commit is contained in:
David Sidrane 2017-03-13 11:56:31 -10:00
parent 4d760c5ea4
commit 3c00651cfe
1 changed files with 1 additions and 0 deletions

View File

@ -154,6 +154,7 @@ static FAR struct semholder_s *sem_findholder(sem_t *sem,
}
#else
int i;
pholder = NULL;
/* We have two hard-allocated holder structuse in sem_t */