svn commit: r312323 - stable/10/tests/sys/file

Ngie Cooper ngie at FreeBSD.org
Tue Jan 17 01:56:51 UTC 2017


Author: ngie
Date: Tue Jan 17 01:56:49 2017
New Revision: 312323
URL: https://svnweb.freebsd.org/changeset/base/312323

Log:
  MFC r312111:
  
  Remove unused vars to fix -Wunused issues

Modified:
  stable/10/tests/sys/file/ftruncate_test.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/tests/sys/file/ftruncate_test.c
==============================================================================
--- stable/10/tests/sys/file/ftruncate_test.c	Tue Jan 17 01:56:44 2017	(r312322)
+++ stable/10/tests/sys/file/ftruncate_test.c	Tue Jan 17 01:56:49 2017	(r312323)
@@ -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-10 mailing list