* tests/test-closein.c (main): Ignore fread result.
* modules/closein-tests (Depends-on): Add ignore-value.
Signed-off-by: Eric Blake <ebb9@byu.net>
2010-02-01 Eric Blake <ebb9@byu.net>
+ closein-tests: silence compiler warning
+ * tests/test-closein.c (main): Ignore fread result.
+ * modules/closein-tests (Depends-on): Add ignore-value.
+
tests: silence warning about system return
* tests/test-areadlink-with-size.c (main): Ignore system result.
* tests/test-areadlink.c (main): Likewise.
Depends-on:
binary-io
+ignore-value
configure.ac:
#include <unistd.h>
#include "binary-io.h"
+#include "ignore-value.h"
char *program_name;
close (0);
if (argc > 1)
- fread (buf, 1, 6, stdin);
+ ignore_value (fread (buf, 1, 6, stdin));
return 0;
}