Make this compile without INVARIANTS.

This commit is contained in:
Olivier Houchard 2006-04-11 23:15:47 +00:00
parent 4d5e876be3
commit 1334cfe00c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157672

View File

@ -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"));