svn commit: r312322 - stable/11/tests/sys/file
Ngie Cooper
ngie at FreeBSD.org
Tue Jan 17 01:56:45 UTC 2017
Author: ngie
Date: Tue Jan 17 01:56:44 2017
New Revision: 312322
URL: https://svnweb.freebsd.org/changeset/base/312322
Log:
MFC r312111:
Remove unused vars to fix -Wunused issues
Modified:
stable/11/tests/sys/file/ftruncate_test.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/tests/sys/file/ftruncate_test.c
==============================================================================
--- stable/11/tests/sys/file/ftruncate_test.c Tue Jan 17 01:55:14 2017 (r312321)
+++ stable/11/tests/sys/file/ftruncate_test.c Tue Jan 17 01:56:44 2017 (r312322)
@@ -57,7 +57,7 @@ static off_t lengths[] = {0, 1, 2, 3, 4,
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];
More information about the svn-src-stable
mailing list