diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2017-04-28 14:15:46 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2017-04-28 14:15:46 +0000 |
commit | d8b40d2a2072aaaa9daa213d79c37cfa03c3d6bf (patch) | |
tree | 9a6c34e208c0b69ca3da975fd498b64346ad8401 | |
parent | 406e7c1cffe582dc588fde7500ff54e5d59549f7 (diff) |
Remove double assignments
-rw-r--r-- | sbin/pfctl/parse.y | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index 18e5524bb0f..4f49b102609 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.657 2017/01/05 12:42:18 krw Exp $ */ +/* $OpenBSD: parse.y,v 1.658 2017/04/28 14:15:45 mikeb Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -4368,7 +4368,6 @@ expand_divertspec(struct pf_rule *r, struct divertspec *ds) return (1); } if (r->af) { - n = ds->addr; for (n = ds->addr; n != NULL; n = n->next) if (n->af == r->af) break; @@ -5442,7 +5441,6 @@ parse_config(char *filename, struct pfctl *xpf) struct sym *sym; pf = xpf; - errors = 0; returnicmpdefault = (ICMP_UNREACH << 8) | ICMP_UNREACH_PORT; returnicmp6default = (ICMP6_DST_UNREACH << 8) | ICMP6_DST_UNREACH_NOPORT; |