From 79eb7623efb3105094dcb77f8688e39b8288155e 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 415d7535c..ae76bc367 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