From nobody Sat Dec 18 13:14:34 2021 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 92D5418FF031; Sat, 18 Dec 2021 13:14:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JGRCG2ShKz3KxT; Sat, 18 Dec 2021 13:14:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3581110388; Sat, 18 Dec 2021 13:14:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BIDEYkI033743; Sat, 18 Dec 2021 13:14:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BIDEYKL033742; Sat, 18 Dec 2021 13:14:34 GMT (envelope-from git) Date: Sat, 18 Dec 2021 13:14:34 GMT Message-Id: <202112181314.1BIDEYKL033742@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 0c8d7eebfdce - main - linux: plug set-but-not-used vars List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0c8d7eebfdce5045bf3b8669ce954ca2cf553d9a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639833274; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3Td3hbCG4Bqo5d1YYdY0vrrTUS0hOE+HklzgepmmdWc=; b=Tpq0HQeTS/eWnFcIPlCFU4BoiYfclx95iWvkwpj9Z303uL3uremlXTUMV0OoF/XftGjpuz rUwkRoPMf95b1for8ZYPhvoY8EDBx1bK5RY077jribO4WIePzOehFHNRNZEHTeBLCYX50M mTTYf80HPujqv29J48rOs6cR1y5LYLJ2rn8fCLuRpPaqfM+Slw46bQ0f95KxPX61N8+Tat ToHNCyIacsFKG2q7dhCOwhyY05Mltx+izUsQkdxeluY5c/IIn57DKFEv2u/9dAs78N5d7U muJ3mQvTj9A0RZkzCN/YUcTBgYoVxwniOKxekYXbkfgyw5HXM3VMt+gQMDb95w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639833274; a=rsa-sha256; cv=none; b=MQdsw5Xrx+HuzuHcu/3gtBCOP9D60Gswtvjx+1FtHPAcs3hod4T4i9vKY5YlrRFyOrTmxV KmrrukCd6p/9GOUITm/nBd0zuLKoGPjZ619C0e7tCCYHlkshovIY/pqguwI+FOhlqyRanw upBsNPY+3Q6xDIsXH6bEW34PjPu46srH0cAIv21Q35zzEUAAQ8kVSNd+qIoJ8KwgbmlEFU 5qwyz8TIN9UhinWeuhaqQCJJTLVkdiiUQO2qbN+B9Si3pEn+2sP2trfCYTG5FVrNsvA2E4 tJw7CoWwULCCPZXmeJYXe/5M6BG5/dcUaO+1JlNQ6SME0utCFabrP5VuFVt6lQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=0c8d7eebfdce5045bf3b8669ce954ca2cf553d9a commit 0c8d7eebfdce5045bf3b8669ce954ca2cf553d9a Author: Mateusz Guzik AuthorDate: 2021-12-18 13:12:15 +0000 Commit: Mateusz Guzik CommitDate: 2021-12-18 13:12:15 +0000 linux: plug set-but-not-used vars Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/compat/linux/linux_emul.c | 4 ++-- sys/compat/linux/linux_misc.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/compat/linux/linux_emul.c b/sys/compat/linux/linux_emul.c index f99f31fb668b..eb132d97db4a 100644 --- a/sys/compat/linux/linux_emul.c +++ b/sys/compat/linux/linux_emul.c @@ -99,7 +99,7 @@ static void linux_set_default_openfiles(struct thread *td, struct proc *p) { struct rlimit rlim; - int error; + int error __diagused; if (linux_default_openfiles < 0) return; @@ -122,7 +122,7 @@ static void linux_set_default_stacksize(struct thread *td, struct proc *p) { struct rlimit rlim; - int error; + int error __diagused; if (linux_default_stacksize < 0) return; diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index a7502465efbf..a8857eda680d 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -205,7 +205,7 @@ linux_alarm(struct thread *td, struct linux_alarm_args *args) { struct itimerval it, old_it; u_int secs; - int error; + int error __diagused; secs = args->secs; /*