From 1334cfe00c5006747efec09324df412ece54d36f Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Tue, 11 Apr 2006 23:15:47 +0000 Subject: [PATCH] Make this compile without INVARIANTS. --- sys/netipx/ipx_usrreq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/netipx/ipx_usrreq.c b/sys/netipx/ipx_usrreq.c index 2125d04dbb1..489014a0d5c 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"));