diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2024-07-08 14:22:10 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2024-07-08 14:22:10 +0000 |
commit | d3a185f333ab3c4216f6e5727907c56cc3a83b63 (patch) | |
tree | 15e0f554ff13fb37710385dcbc37e854d79c3767 /usr.sbin | |
parent | 61a74dff7808f2a4378e70f14ded7701010c1950 (diff) |
cleanup unused variable
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/relayd/relay_http.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/relayd/relay_http.c b/usr.sbin/relayd/relay_http.c index e62ece35ff5..ce7b6817f75 100644 --- a/usr.sbin/relayd/relay_http.c +++ b/usr.sbin/relayd/relay_http.c @@ -1,4 +1,4 @@ -/* $OpenBSD: relay_http.c,v 1.87 2023/12/01 16:48:40 millert Exp $ */ +/* $OpenBSD: relay_http.c,v 1.88 2024/07/08 14:22:09 florian Exp $ */ /* * Copyright (c) 2006 - 2016 Reyk Floeter <reyk@openbsd.org> @@ -1972,7 +1972,6 @@ relay_test(struct protocol *proto, struct ctl_relay_event *cre) struct http_descriptor *desc = cre->desc; struct relay_rule *r = NULL, *rule = NULL; struct relay_table *tbl = NULL; - u_int cnt = 0; u_int action = RES_PASS; struct kvlist actions, matches; struct kv *kv; @@ -1983,8 +1982,6 @@ relay_test(struct protocol *proto, struct ctl_relay_event *cre) r = TAILQ_FIRST(&proto->rules); while (r != NULL) { - cnt++; - TAILQ_INIT(&matches); TAILQ_INIT(&r->rule_kvlist); |