summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-04-13 16:43:06 +0000
committerngie <ngie@FreeBSD.org>2015-04-13 16:43:06 +0000
commitaca54238340ec53fcb68babacd78a72cbf21d376 (patch)
tree15050f501a4152eee3ee16bdeb5d7d66204fbd00 /tests
parenta385c38746b21154b789be6589490f4277ac2280 (diff)
downloadFreeBSD-src-aca54238340ec53fcb68babacd78a72cbf21d376.zip
FreeBSD-src-aca54238340ec53fcb68babacd78a72cbf21d376.tar.gz
Fix WARNS= 6 by removing garbage collecting unused argc/argv
Diffstat (limited to 'tests')
-rw-r--r--tests/sys/file/ftruncate_test.c2
1 files changed, 1 insertions, 1 deletions
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];
OpenPOWER on IntegriCloud