From aca54238340ec53fcb68babacd78a72cbf21d376 Mon Sep 17 00:00:00 2001 From: ngie Date: Mon, 13 Apr 2015 16:43:06 +0000 Subject: Fix WARNS= 6 by removing garbage collecting unused argc/argv --- tests/sys/file/ftruncate_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/file/ftruncate_test.c b/tests/sys/file/ftruncate_test.c index 7eaba14..b657aca 100644 --- a/tests/sys/file/ftruncate_test.c +++ b/tests/sys/file/ftruncate_test.c @@ -57,7 +57,7 @@ static off_t lengths[] = {0, 1, 2, 3, 4, 127, 128, 129, 511, 512, 513, 1023, static int lengths_count = sizeof(lengths) / sizeof(off_t); int -main(int argc, char *argv[]) +main(void) { int error, fd, fds[2], i, read_only_fd; char path[PATH_MAX]; -- cgit v1.1