diff --git a/src/daemon/cpulimit.c b/src/daemon/cpulimit.c index 3a9729750..0abbac023 100644 --- a/src/daemon/cpulimit.c +++ b/src/daemon/cpulimit.c @@ -167,7 +167,7 @@ static void callback(pa_mainloop_api*m, pa_io_event*e, int fd, pa_io_event_flags pa_log("Received request to terminate due to CPU overload."); - pa_read(the_pipe[0], &c, sizeof(c), NULL); + (void) pa_read(the_pipe[0], &c, sizeof(c), NULL); m->quit(m, 1); /* Quit the main loop */ }