Date: Thu, 9 Dec 2021 18:09:27 GMT From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 2cc5a480a63b - main - geom_raid3: plug set-but-not-unused vars Message-ID: <202112091809.1B9I9RDC080087@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=2cc5a480a63b48af606b845079f91f2d6a1bb44a commit 2cc5a480a63b48af606b845079f91f2d6a1bb44a Author: Mateusz Guzik <mjg@FreeBSD.org> AuthorDate: 2021-12-09 18:08:03 +0000 Commit: Mateusz Guzik <mjg@FreeBSD.org> 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();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112091809.1B9I9RDC080087>