Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet6 Mark a variable as used only in diagnostic kernels



details:   https://anonhg.NetBSD.org/src/rev/a7476a2b40fe
branches:  trunk
changeset: 790867:a7476a2b40fe
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Oct 25 15:44:39 2013 +0000

description:
Mark a variable as used only in diagnostic kernels

diffstat:

 sys/netinet6/in6_ifattach.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r aaad7e1695f9 -r a7476a2b40fe sys/netinet6/in6_ifattach.c
--- a/sys/netinet6/in6_ifattach.c       Fri Oct 25 15:42:50 2013 +0000
+++ b/sys/netinet6/in6_ifattach.c       Fri Oct 25 15:44:39 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: in6_ifattach.c,v 1.88 2013/10/18 02:20:15 mrg Exp $    */
+/*     $NetBSD: in6_ifattach.c,v 1.89 2013/10/25 15:44:39 martin Exp $ */
 /*     $KAME: in6_ifattach.c,v 1.124 2001/07/18 08:32:51 jinmei Exp $  */
 
 /*
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in6_ifattach.c,v 1.88 2013/10/18 02:20:15 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6_ifattach.c,v 1.89 2013/10/25 15:44:39 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -527,7 +527,7 @@
 static int
 in6_ifattach_linklocal(struct ifnet *ifp, struct ifnet *altifp)
 {
-       struct in6_ifaddr *ia;
+       struct in6_ifaddr *ia __diagused;
        struct in6_aliasreq ifra;
        struct nd_prefixctl pr0;
        int i, error;



Home | Main Index | Thread Index | Old Index