Commit f4d9215b authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

An assert to convince FlexeLint that we have a variable.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3040 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent aa76d30d
...@@ -100,6 +100,7 @@ parse_error(struct tokenlist *tl) ...@@ -100,6 +100,7 @@ parse_error(struct tokenlist *tl)
if (tl->t->tok == VAR) { if (tl->t->tok == VAR) {
vp = vcc_FindVar(tl, tl->t, vcc_vars); vp = vcc_FindVar(tl, tl->t, vcc_vars);
ERRCHK(tl); ERRCHK(tl);
assert(vp != NULL);
if (vp->fmt == INT) { if (vp->fmt == INT) {
Fb(tl, 1, "VRT_error(sp, %s", vp->rname); Fb(tl, 1, "VRT_error(sp, %s", vp->rname);
vcc_NextToken(tl); vcc_NextToken(tl);
......
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