src/pulsecore/mutex-posix.c | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 9de7519d162230b11fa71903d261acb15c5c3eb8 Author: Arun Raghavan <arun.ragha...@collabora.co.uk> Date: Sat Sep 28 09:12:01 2013 +0530
mutex: Fix compiler warning when priority inheritance is not supported 'r' is unused in the case where prioritiy inheritance is not detected at configure time. diff --git a/src/pulsecore/mutex-posix.c b/src/pulsecore/mutex-posix.c index 74c5768..36c2787 100644 --- a/src/pulsecore/mutex-posix.c +++ b/src/pulsecore/mutex-posix.c @@ -42,7 +42,9 @@ struct pa_cond { pa_mutex* pa_mutex_new(bool recursive, bool inherit_priority) { pa_mutex *m; pthread_mutexattr_t attr; +#ifdef HAVE_PTHREAD_PRIO_INHERIT int r; +#endif pa_assert_se(pthread_mutexattr_init(&attr) == 0); _______________________________________________ pulseaudio-commits mailing list pulseaudio-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits