semaphore:sem_holder sem_findholder missing inintalization of pholder
sem_findholder would fail and code optimization coverd this up.
This commit is contained in:
parent
4d760c5ea4
commit
3c00651cfe
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user