diff --git a/src/acl.c b/src/acl.c index 193788c506..b2b0f0c1cf 100644 --- a/src/acl.c +++ b/src/acl.c @@ -101,7 +101,6 @@ struct acl_keyword *find_acl_kw(const char *kw) static struct acl_expr *prune_acl_expr(struct acl_expr *expr) { struct arg *arg; - int unresolved = 0; pattern_prune(&expr->pat); @@ -110,7 +109,6 @@ static struct acl_expr *prune_acl_expr(struct acl_expr *expr) break; if (arg->type == ARGT_STR || arg->unresolved) { chunk_destroy(&arg->data.str); - unresolved |= arg->unresolved; arg->unresolved = 0; } }