Silence gcc in npf_recache(). trunk
authorrmind <rmind@NetBSD.org>
Mon, 24 Dec 2012 23:11:25 +0000
branchtrunk
changeset 215310 f47bc7805882
parent 215309 51142d1c838d
child 215311 386edd59b842
Silence gcc in npf_recache().
sys/net/npf/npf_inet.c
--- a/sys/net/npf/npf_inet.c	Mon Dec 24 22:12:28 2012 +0000
+++ b/sys/net/npf/npf_inet.c	Mon Dec 24 23:11:25 2012 +0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: npf_inet.c,v 1.19 2012/12/24 19:05:43 rmind Exp $	*/
+/*	$NetBSD: npf_inet.c,v 1.20 2012/12/24 23:11:25 rmind Exp $	*/
 
 /*-
  * Copyright (c) 2009-2012 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: npf_inet.c,v 1.19 2012/12/24 19:05:43 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: npf_inet.c,v 1.20 2012/12/24 23:11:25 rmind Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -487,7 +487,7 @@
 void
 npf_recache(npf_cache_t *npc, nbuf_t *nbuf)
 {
-	const int mflags = npc->npc_info & (NPC_IP46 | NPC_LAYER4);
+	const int mflags __unused = npc->npc_info & (NPC_IP46 | NPC_LAYER4);
 	int flags;
 
 	nbuf_reset(nbuf);