diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2018-10-23 09:53:07 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2018-10-23 09:53:07 +0000 |
commit | d249e22e18b161d7a3b362ee7b987ed3cedc1005 (patch) | |
tree | f9bf07ead7f30e8fdbcd229fc6e075b56bf78fb3 /sys/net/pf_norm.c | |
parent | a7da4833959f34a6c2c9e791890ff6f9a249a1e0 (diff) |
Make pf compile without DIAGNOSTIC again
OK bluhm@ kn@
Diffstat (limited to 'sys/net/pf_norm.c')
-rw-r--r-- | sys/net/pf_norm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/pf_norm.c b/sys/net/pf_norm.c index 20503b82b57..8d70182e331 100644 --- a/sys/net/pf_norm.c +++ b/sys/net/pf_norm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_norm.c,v 1.216 2018/09/10 16:14:07 bluhm Exp $ */ +/* $OpenBSD: pf_norm.c,v 1.217 2018/10/23 09:53:06 reyk Exp $ */ /* * Copyright 2001 Niels Provos <provos@citi.umich.edu> @@ -433,7 +433,9 @@ pf_frent_insert(struct pf_fragment *frag, struct pf_frent *frent, void pf_frent_remove(struct pf_fragment *frag, struct pf_frent *frent) { +#ifdef DIAGNOSTIC struct pf_frent *prev = TAILQ_PREV(frent, pf_fragq, fr_next); +#endif struct pf_frent *next = TAILQ_NEXT(frent, fr_next); int index; |