Module Name:    src
Committed By:   martin
Date:           Fri Oct 25 15:44:39 UTC 2013

Modified Files:
        src/sys/netinet6: in6_ifattach.c

Log Message:
Mark a variable as used only in diagnostic kernels


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 src/sys/netinet6/in6_ifattach.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/netinet6/in6_ifattach.c
diff -u src/sys/netinet6/in6_ifattach.c:1.88 src/sys/netinet6/in6_ifattach.c:1.89
--- src/sys/netinet6/in6_ifattach.c:1.88	Fri Oct 18 02:20:15 2013
+++ src/sys/netinet6/in6_ifattach.c	Fri Oct 25 15:44:39 2013
@@ -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 @@ success:
 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;

Reply via email to