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/run_normalize.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/run_normalize.c') diff --git a/test/run_normalize.c b/test/run_normalize.c index d16ed60ea..fc26829ed 100644 --- a/test/run_normalize.c +++ b/test/run_normalize.c @@ -65,7 +65,8 @@ int main(int argc, char **argv) while ((nbytes = read(0, buffer, sizeof(buffer))) > 0) { Compressor_Process_int16(compressor, (int16_t *)buffer, nbytes / 2); - write(1, buffer, nbytes); + + G_GNUC_UNUSED ssize_t ignored = write(1, buffer, nbytes); } Compressor_delete(compressor); -- cgit v1.2.3