explcitly ignore return values of some functions marked with gcc's warn_unused_result attribute

This commit is contained in:
Lennart Poettering 2009-04-14 01:22:42 +02:00
parent 845b312f44
commit 40d71e1f49
3 changed files with 4 additions and 4 deletions

View file

@ -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);
}