diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2025-01-13 17:28:19 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2025-01-19 16:20:53 +0100 |
commit | 7a41d031b68d2e3b0e1cd64d4266244bbecc2c96 (patch) | |
tree | 03cd996e050867e6cacba9f0054e6bd811375ff0 | |
parent | 8c35615297983227cac1437edbe0cdedf4c2227b (diff) |
evaluate: remove variable shadowing
unsigned int i is already declared in resolve_ll_protocol_conflict(),
remove it.
Fixes: 3a734d608131 ("evaluate: don't assert on net/transport header conflict")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | src/evaluate.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/evaluate.c b/src/evaluate.c index cd3619a2..919ef907 100644 --- a/src/evaluate.c +++ b/src/evaluate.c @@ -842,8 +842,6 @@ static int resolve_ll_protocol_conflict(struct eval_ctx *ctx, return -1; } } else { - unsigned int i; - /* payload desc stored in the L2 header stack? No conflict. */ for (i = 0; i < pctx->stacked_ll_count; i++) { if (pctx->stacked_ll[i] == payload->payload.desc) |