summaryrefslogtreecommitdiffstats
path: root/src/tests/mainloop-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/mainloop-test.c')
-rw-r--r--src/tests/mainloop-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/mainloop-test.c b/src/tests/mainloop-test.c
index d8926233..4ca63513 100644
--- a/src/tests/mainloop-test.c
+++ b/src/tests/mainloop-test.c
@@ -46,7 +46,7 @@ static pa_defer_event *de;
static void iocb(pa_mainloop_api*a, pa_io_event *e, int fd, pa_io_event_flags_t f, void *userdata) {
unsigned char c;
- read(fd, &c, sizeof(c));
+ (void) read(fd, &c, sizeof(c));
fprintf(stderr, "IO EVENT: %c\n", c < 32 ? '.' : c);
a->defer_enable(de, 1);
}