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_convert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/run_convert.c') diff --git a/test/run_convert.c b/test/run_convert.c index 57a3a2f7f..bc95d959f 100644 --- a/test/run_convert.c +++ b/test/run_convert.c @@ -115,7 +115,7 @@ int main(int argc, char **argv) return 2; } - write(1, output, length); + G_GNUC_UNUSED ssize_t ignored = write(1, output, length); } pcm_convert_deinit(&state); -- cgit v1.2.3