From ecc538ef6d168031bf9fba9bf9d2464cdef70ae9 Mon Sep 17 00:00:00 2001 From: cognet Date: Tue, 11 Apr 2006 23:15:47 +0000 Subject: Make this compile without INVARIANTS. --- sys/netipx/ipx_usrreq.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/netipx/ipx_usrreq.c') 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")); -- cgit v1.1