diff --git a/src/acl.c b/src/acl.c index be2095998c..974e9196f9 100644 --- a/src/acl.c +++ b/src/acl.c @@ -507,7 +507,6 @@ struct acl_expr *parse_acl_expr(const char **args, char **err, struct arg_list * } pattern->flags = patflags; - pattern->type = SMP_TYPES; /* unspecified type */ ret = expr->pat.parse(args, pattern, NULL, &opaque, err); if (!ret) goto out_free_pattern; diff --git a/src/pattern.c b/src/pattern.c index 084f73a86c..6c2a5bac45 100644 --- a/src/pattern.c +++ b/src/pattern.c @@ -860,7 +860,6 @@ int pattern_register(struct pattern_expr *expr, char *text, (*pattern)->val.tree = &expr->pattern_tree; } - (*pattern)->type = SMP_TYPES; /* unspecified type by default */ if (!expr->parse(args, *pattern, smp, &opaque, err)) return -1;