summaryrefslogtreecommitdiffstats
path: root/sys/netipx
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2006-04-11 23:15:47 +0000
committercognet <cognet@FreeBSD.org>2006-04-11 23:15:47 +0000
commitecc538ef6d168031bf9fba9bf9d2464cdef70ae9 (patch)
tree58418956bf42457721cb7784ed603eab991abf06 /sys/netipx
parenta2a4e2db32ae5047795e7c89277940531c760bf3 (diff)
downloadFreeBSD-src-ecc538ef6d168031bf9fba9bf9d2464cdef70ae9.zip
FreeBSD-src-ecc538ef6d168031bf9fba9bf9d2464cdef70ae9.tar.gz
Make this compile without INVARIANTS.
Diffstat (limited to 'sys/netipx')
-rw-r--r--sys/netipx/ipx_usrreq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netipx/ipx_usrreq.c b/sys/netipx/ipx_usrreq.c
index 2125d04..489014a 100644
--- a/sys/netipx/ipx_usrreq.c
+++ b/sys/netipx/ipx_usrreq.c
@@ -449,7 +449,9 @@ ipx_attach(so, proto, td)
int proto;
struct thread *td;
{
+#ifdef INVARIANTS
struct ipxpcb *ipxp = sotoipxpcb(so);
+#endif
int error;
KASSERT(ipxp == NULL, ("ipx_attach: ipxp != NULL"));
OpenPOWER on IntegriCloud