[pulseaudio-discuss] [PATCH 8/8] pulse: Explicitly ignore pa_mainloop_run() return value in thread function

Peter Meerwald-Stadler pmeerw at pmeerw.net
Wed Mar 8 15:09:39 UTC 2017


Coverity ID: #1137975

Signed-off-by: Peter Meerwald-Stadler <pmeerw at pmeerw.net>
---
 src/pulse/thread-mainloop.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pulse/thread-mainloop.c b/src/pulse/thread-mainloop.c
index cbfc474..993b7ba 100644
--- a/src/pulse/thread-mainloop.c
+++ b/src/pulse/thread-mainloop.c
@@ -97,7 +97,7 @@ static void thread(void *userdata) {
 
     pa_mutex_lock(m->mutex);
 
-    pa_mainloop_run(m->real_mainloop, NULL);
+    (void) pa_mainloop_run(m->real_mainloop, NULL);
 
     pa_mutex_unlock(m->mutex);
 }
-- 
2.7.4



More information about the pulseaudio-discuss mailing list