summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/relayd/relay_http.c5
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);