From nobody Fri Jun 17 19:38:30 2022 X-Original-To: dev-commits-src-branches@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 ED67385B3DE; Fri, 17 Jun 2022 19:38:32 +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 4LPq8k5x8Vz3QPY; Fri, 17 Jun 2022 19:38:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494711; 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=GWeuwqJD72tGm2fF/xRSn9ud0zUYlsKw3k5pHLFInzs=; b=OH0LQPo7ptFA7m0jP8GBAWs2MeGjnO1GCyL4Unmne3VPT+5k0HgcezsAFoStnglrd6CzQL FliDsH+a3xV/RXIugZlI3ZoDLoJ1dYB1HewIijFMaVW6T1CyV7/FycyykurRoiSvQ8ExNp mLHkUIU61DsCAGu4kAZIgct9DOusTbEMEVLWEaN1jC8q+wLRap44lgkXgpcFn/S6HHayHq DuhhPfsXL9Ggs+Ygi9mNB+Wbh5qzXLmw5w1urmIky31AEO9xperbbUxJxKGuEjWhBVNFrx GD9SQy2XtyvbLGnSR0Bkn1fXo6exR6TAVri4Mvy/ucbihg0gML66zrp4G3gh2w== 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 9C9DC25ACA; Fri, 17 Jun 2022 19:38:30 +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 25HJcUuJ014777; Fri, 17 Jun 2022 19:38:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25HJcUUi014776; Fri, 17 Jun 2022 19:38:30 GMT (envelope-from git) Date: Fri, 17 Jun 2022 19:38:30 GMT Message-Id: <202206171938.25HJcUUi014776@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dmitry Chagin Subject: git: 0506fe6d3c9e - stable/13 - linux: plug set-but-not-used vars List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 0506fe6d3c9e4eabc61d7302f14460b538210e2b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494711; 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=GWeuwqJD72tGm2fF/xRSn9ud0zUYlsKw3k5pHLFInzs=; b=mYoe/1HSjx/QgK3mQzNjXdFs2MjMmuRntxcfVCIkf77WES3d37hHBR6JPQjk6MmIoubhnZ FBZImJEDyKuESgV31D2CjxuXrQEfe1DrGTuOhvM9V8V9KqLx/8U/P/fRzNppz3N13lsyOv BExp0qeIgKVd7SkiLkaY1UeYhQsd+edNpUO6yDsLa3YDhdBm5fv1tpykdi0R7tr3sMKRm1 RlynYTZ+L3N2j4Wh/t6Q8F/Y8ds1cjq0FC+LF8WUUVkHvkKH4mYvly2VB9n3O7rNLzk61a Klb79DTIpA4JzekX0DKZarAZTYiA9Gf2xBEHhZ9afp0Id2KERCpvEQT1KaIyaw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655494711; a=rsa-sha256; cv=none; b=xgLE8d5NsCCexy/+byfaqyA7G/edcYlyxn5XfOQoilZRuRZdX5WZaZvwb+wCx2AJS543u+ 0u5/rcOO/r7t0n2zAJj0MP+Nj+sNWnVB/ygokqZ5tmqCWvDA1qUKDoUTmfNR6Cfa2wVpmd xutH0WJZkM8rd5KwpbpymM7TGrk4sipplujNv4gW82sNBwefojScu63HavH33zvr28dMxr GxIQNM/Pu4E4ZBsX1SuZLhA38/bFLDKvzuPFsubtEC5p4Oj4qTSb+hILmA7BIR5Q1mSe5B Vqt4IZ1sR16AagoptgNdp6iOeWT38a67Li5LkHe6a9Jo4aMYJ9/x6Ll9uiLRGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=0506fe6d3c9e4eabc61d7302f14460b538210e2b commit 0506fe6d3c9e4eabc61d7302f14460b538210e2b Author: Mateusz Guzik AuthorDate: 2021-12-18 13:12:15 +0000 Commit: Dmitry Chagin CommitDate: 2022-06-17 19:33:40 +0000 linux: plug set-but-not-used vars Sponsored by: Rubicon Communications, LLC ("Netgate") (cherry picked from commit 0c8d7eebfdce5045bf3b8669ce954ca2cf553d9a) --- 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 e7576ed2b16f..bb7ffd57be6e 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 2d4936228315..aa18c222ac82 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; /*