event_pipe, test: explicitly ignore write() return value

Some compilers are very picky, but we really aren't interested in the
return value.
This commit is contained in:
Max Kellermann
2012-03-19 20:37:17 +01:00
parent b9e64d0472
commit 79eb7623ef
7 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -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);