Commit 3731e9f9 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

vcc: Remove stale assertion

Fixes #3960
parent 6a3775fa
varnishtest "invalid header name on RHS"
varnish v1 -errvcl "Expected ID got '0'" {
vcl 4.1;
backend default none;
sub vcl_recv {
if (req.http.0) {}
}
}
......@@ -370,7 +370,6 @@ vcc_Eval_Var(struct vcc *tl, struct expr **e, struct token *t,
{
(void)type;
assert(sym->kind == SYM_VAR);
vcc_AddUses(tl, t, NULL, sym, XREF_READ);
ERRCHK(tl);
*e = vcc_mk_expr(sym->type, "%s", sym->rname);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment