[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] mutex-posix: Fix error assignment for unlock() check
Arun Raghavan
gitlab at gitlab.freedesktop.org
Mon Nov 23 22:50:57 UTC 2020
Arun Raghavan pushed to branch master at PulseAudio / pulseaudio
Commits:
5f3717f3 by Arun Raghavan at 2020-11-23T22:45:42+00:00
mutex-posix: Fix error assignment for unlock() check
This comment was missed in 757eb264485b11ca9163a260d8772c59ac3108a1.
- - - - -
1 changed file:
- src/pulsecore/mutex-posix.c
Changes:
=====================================
src/pulsecore/mutex-posix.c
=====================================
@@ -109,7 +109,7 @@ void pa_mutex_unlock(pa_mutex *m) {
pa_assert(m);
- if ((err = pthread_mutex_unlock(&m->mutex) != 0)) {
+ if ((err = pthread_mutex_unlock(&m->mutex)) != 0) {
pa_log("pthread_mutex_unlock() failed: %s", pa_cstrerror(err));
pa_assert_not_reached();
}
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/5f3717f39cc3e373a3caaebd0d1625486fdd3b31
--
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/5f3717f39cc3e373a3caaebd0d1625486fdd3b31
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20201123/661c7b94/attachment.htm>
More information about the pulseaudio-commits
mailing list