mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
asyncmsgq: Drop weird assert
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
This commit is contained in:
parent
70973d58e6
commit
7bb708d953
1 changed files with 0 additions and 2 deletions
|
|
@ -157,8 +157,6 @@ int pa_asyncmsgq_send(pa_asyncmsgq *a, pa_msgobject *object, int code, const voi
|
|||
if (!(i.semaphore = pa_flist_pop(PA_STATIC_FLIST_GET(semaphores))))
|
||||
i.semaphore = pa_semaphore_new(0);
|
||||
|
||||
pa_assert_se(i.semaphore);
|
||||
|
||||
/* This mutex makes the queue multiple-writer safe. This lock is only used on the writing side */
|
||||
pa_mutex_lock(a->mutex);
|
||||
pa_assert_se(pa_asyncq_push(a->asyncq, &i, true) == 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue