git: bf73b067713f - main - ip6_mroute: Mark a variable only used in a debug trace as unused.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 06 Apr 2022 23:46:23 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=bf73b067713f71d666b3cdf0f57f0cff8c3647f7

commit bf73b067713f71d666b3cdf0f57f0cff8c3647f7
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-06 23:45:29 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-04-06 23:45:29 +0000

    ip6_mroute: Mark a variable only used in a debug trace as unused.
---
 sys/netinet6/ip6_mroute.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netinet6/ip6_mroute.c b/sys/netinet6/ip6_mroute.c
index bbc021277fae..9e864859c279 100644
--- a/sys/netinet6/ip6_mroute.c
+++ b/sys/netinet6/ip6_mroute.c
@@ -1533,7 +1533,7 @@ phyint_send(struct ip6_hdr *ip6, struct mif6 *mifp, struct mbuf *m)
 #endif
 	struct mbuf *mb_copy;
 	struct ifnet *ifp = mifp->m6_ifp;
-	int error = 0;
+	int error __unused = 0;
 	u_long linkmtu;
 
 	/*