From owner-svn-src-stable@freebsd.org Mon Jan 4 07:09:31 2016 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 1A1F2A5FF22; Mon, 4 Jan 2016 07:09:31 +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 DE97B1F7B; Mon, 4 Jan 2016 07:09:30 +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 u0479Uq8083001; Mon, 4 Jan 2016 07:09:30 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0479UlH083000; Mon, 4 Jan 2016 07:09:30 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201601040709.u0479UlH083000@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Garrett Cooper Date: Mon, 4 Jan 2016 07:09:30 +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: r293144 - stable/10/tests/sys/kern/pipe 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.20 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: Mon, 04 Jan 2016 07:09:31 -0000 Author: ngie Date: Mon Jan 4 07:09:29 2016 New Revision: 293144 URL: https://svnweb.freebsd.org/changeset/base/293144 Log: MFC r292822: Remove retval to fix a -Wunused-but-set-variable warning from gcc 4.9 Modified: stable/10/tests/sys/kern/pipe/pipe_overcommit1_test.c Directory Properties: stable/10/ (props changed) Modified: stable/10/tests/sys/kern/pipe/pipe_overcommit1_test.c ============================================================================== --- stable/10/tests/sys/kern/pipe/pipe_overcommit1_test.c Mon Jan 4 07:06:46 2016 (r293143) +++ stable/10/tests/sys/kern/pipe/pipe_overcommit1_test.c Mon Jan 4 07:09:29 2016 (r293144) @@ -40,12 +40,11 @@ int main(void) { - int pipes[10000], returnval; + int pipes[10000]; unsigned int i; - for (i = 0; i < nitems(pipes); i++) { - returnval = pipe(&pipes[i]); - } + for (i = 0; i < nitems(pipes); i++) + (void)pipe(&pipes[i]); printf("PASS\n"); exit(0);