From owner-svn-src-stable@freebsd.org Tue Jan 17 01:56:51 2017 Return-Path: Delivered-To: svn-src-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C793CB3CC8; Tue, 17 Jan 2017 01:56:51 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DDE2E10A5; Tue, 17 Jan 2017 01:56:50 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v0H1unc2075132; Tue, 17 Jan 2017 01:56:49 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v0H1unBL075131; Tue, 17 Jan 2017 01:56:49 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201701170156.v0H1unBL075131@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Ngie Cooper Date: Tue, 17 Jan 2017 01:56:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r312323 - stable/10/tests/sys/file X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2017 01:56:51 -0000 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];