Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 Mark in6m as used for non-DIAGNOSTIC builds.
details: https://anonhg.NetBSD.org/src/rev/9b65e74fe040
branches: trunk
changeset: 319427:9b65e74fe040
user: prlw1 <prlw1%NetBSD.org@localhost>
date: Tue May 29 09:10:39 2018 +0000
description:
Mark in6m as used for non-DIAGNOSTIC builds.
diffstat:
sys/netinet6/in6.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 42e07c1f8235 -r 9b65e74fe040 sys/netinet6/in6.c
--- a/sys/netinet6/in6.c Tue May 29 08:37:33 2018 +0000
+++ b/sys/netinet6/in6.c Tue May 29 09:10:39 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in6.c,v 1.267 2018/05/29 04:37:16 ozaki-r Exp $ */
+/* $NetBSD: in6.c,v 1.268 2018/05/29 09:10:39 prlw1 Exp $ */
/* $KAME: in6.c,v 1.198 2001/07/18 09:12:38 itojun Exp $ */
/*
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in6.c,v 1.267 2018/05/29 04:37:16 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6.c,v 1.268 2018/05/29 09:10:39 prlw1 Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1405,7 +1405,7 @@
again:
mutex_enter(&in6_ifaddr_lock);
while ((imm = LIST_FIRST(&ia->ia6_memberships)) != NULL) {
- struct in6_multi *in6m = imm->i6mm_maddr;
+ struct in6_multi *in6m __diagused = imm->i6mm_maddr;
KASSERT(in6m == NULL || in6m->in6m_ifp == ifp);
LIST_REMOVE(imm, i6mm_chain);
mutex_exit(&in6_ifaddr_lock);
Home |
Main Index |
Thread Index |
Old Index