diff options
author | cognet <cognet@FreeBSD.org> | 2006-04-11 23:15:47 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2006-04-11 23:15:47 +0000 |
commit | ecc538ef6d168031bf9fba9bf9d2464cdef70ae9 (patch) | |
tree | 58418956bf42457721cb7784ed603eab991abf06 /sys/netipx | |
parent | a2a4e2db32ae5047795e7c89277940531c760bf3 (diff) | |
download | FreeBSD-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.c | 2 |
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")); |