From nobody Thu Dec 09 18:09:27 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 3A5C818E798D; Thu, 9 Dec 2021 18:09:28 +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 4J929g6wYjz3k03; Thu, 9 Dec 2021 18:09:27 +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 CE07636B7; Thu, 9 Dec 2021 18:09:27 +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 1B9I9RE3080088; Thu, 9 Dec 2021 18:09:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B9I9RDC080087; Thu, 9 Dec 2021 18:09:27 GMT (envelope-from git) Date: Thu, 9 Dec 2021 18:09:27 GMT Message-Id: <202112091809.1B9I9RDC080087@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: 2cc5a480a63b - main - geom_raid3: plug set-but-not-unused 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: 2cc5a480a63b48af606b845079f91f2d6a1bb44a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639073368; 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=URIKQ3D7cQ1rw4/0/4LR1EcHNZIRMya6k8ytD217PM0=; b=q4lfc5tlbSaXzSPmLRMw8TQvpkbRHuCjqhqzgcbUbVmJnFN/j9wSXQknYq3C1ekApxCKvs 1rgKwBpioYlfNIC1WZ+j4ME+hWDlHHR5F7HUIJsl8b2cr1tKhgL+hb/nwNXurT+G441APx 0v1M28IYLxkgQEkxeqEoz9i6bLKJNbswt3jBvUNssQQSAozqdgn54i03mThdwE13dX5lzE Nej5/IJvog44BkSzmreuZ1aUME2oddYYUVOcyFYBYMz14ucz3vXnLZ6DgEO2NWt0McNxeV nAfvLFrWEYq497z6ZDELos/Mq0c8TQJ20FKPSs9yJf+TwWeS7wCE4Cc+bh1+qw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639073368; a=rsa-sha256; cv=none; b=tXlhqErnKPUEwelo+Tl+C0nkOo6CNarUns7DSHTUL9SVPdF5TWPzQnx5/8Uvo+IfwIaMp3 JdVTE+NUbetbL7Q4lgqdqQj0LE9kS2iNAVU5PIKSM0ZcUwOB62bTxsHPNI5XMk7pXeOxAO xN3bmTEuTar2XLFA2nJzthepk079oJpzkJpOwXEJPRnnVKiWjDBLHJVDgSEKq6ENrM4xSd sdQhq6atyYpOwaW/76FVVfAusXpRZZvO1CVyTR/8+cmwquklSr9+D1jDlclXEA2OA1cHji BsBnLU+rqFnnyEQVFxUK64r6xJbHn+IAOTLJCaMdVJOB4SPYbgzpxqj8nm1ckw== 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=2cc5a480a63b48af606b845079f91f2d6a1bb44a commit 2cc5a480a63b48af606b845079f91f2d6a1bb44a Author: Mateusz Guzik AuthorDate: 2021-12-09 18:08:03 +0000 Commit: Mateusz Guzik CommitDate: 2021-12-09 18:08:03 +0000 geom_raid3: plug set-but-not-unused vars Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/geom/raid3/g_raid3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/geom/raid3/g_raid3.c b/sys/geom/raid3/g_raid3.c index 159eff990892..7fcf8aa2e024 100644 --- a/sys/geom/raid3/g_raid3.c +++ b/sys/geom/raid3/g_raid3.c @@ -774,7 +774,7 @@ g_raid3_fill_metadata(struct g_raid3_disk *disk, struct g_raid3_metadata *md) void g_raid3_update_metadata(struct g_raid3_disk *disk) { - struct g_raid3_softc *sc; + struct g_raid3_softc *sc __diagused; struct g_raid3_metadata md; int error; @@ -1380,7 +1380,7 @@ g_raid3_flush(struct g_raid3_softc *sc, struct bio *bp) { struct bio_queue_head queue; struct g_raid3_disk *disk; - struct g_consumer *cp; + struct g_consumer *cp __diagused; struct bio *cbp; u_int i; @@ -2181,7 +2181,7 @@ g_raid3_sync_start(struct g_raid3_softc *sc) struct g_raid3_disk *disk; struct g_consumer *cp; struct bio *bp; - int error; + int error __diagused; u_int n; g_topology_assert_not();