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.
_______________________________________________
pulseaudio-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits