summaryrefslogtreecommitdiffstats
path: root/contrib/file/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/file/test.c')
-rw-r--r--contrib/file/test.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/file/test.c b/contrib/file/test.c
index ab4c105..55b78d3 100644
--- a/contrib/file/test.c
+++ b/contrib/file/test.c
@@ -39,19 +39,19 @@ main(int argc, char **argv)
ms = magic_open(MAGIC_NONE);
if (ms == NULL) {
- printf("ERROR: out of memory\n");
+ (void) printf("ERROR: out of memory\n");
return 1;
}
if (magic_load(ms, NULL) == -1) {
- printf("ERROR: %s\n", magic_error(ms));
+ (void) printf("ERROR: %s\n", magic_error(ms));
return 1;
}
for (i = 1; i < argc; i++) {
if ((m = magic_file(ms, argv[i])) == NULL)
- printf("ERROR: %s\n", magic_error(ms));
+ (void) printf("ERROR: %s\n", magic_error(ms));
else
- printf("%s: %s\n", argv[i], m);
+ (void) printf("%s: %s\n", argv[i], m);
}
magic_close(ms);
OpenPOWER on IntegriCloud