From 36827e11346cc3076e608ae5137afb0f7fb7c65a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 19 Mar 2012 20:37:17 +0100 Subject: event_pipe, test: explicitly ignore write() return value Some compilers are very picky, but we really aren't interested in the return value. --- test/dump_playlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/dump_playlist.c') diff --git a/test/dump_playlist.c b/test/dump_playlist.c index b38180033..0570f6e49 100644 --- a/test/dump_playlist.c +++ b/test/dump_playlist.c @@ -95,7 +95,7 @@ decoder_data(G_GNUC_UNUSED struct decoder *decoder, const void *data, size_t datalen, G_GNUC_UNUSED uint16_t kbit_rate) { - write(1, data, datalen); + G_GNUC_UNUSED ssize_t nbytes = write(1, data, datalen); return DECODE_COMMAND_NONE; } -- cgit v1.2.3