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

Remove redundant error checks.



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3284 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 1c0954b3
......@@ -358,8 +358,6 @@ vcc_ParseProbe(struct tokenlist *tl)
vcc_IsField(tl, &t_field, fs);
ERRCHK(tl);
if (tl->err)
break;
if (vcc_IdIs(t_field, "url")) {
vcc_ProbeRedef(tl, &t_did, t_field);
ERRCHK(tl);
......@@ -519,8 +517,6 @@ vcc_ParseHostDef(struct tokenlist *tl, int *nbh, const struct token *name, const
vcc_IsField(tl, &t_field, fs);
ERRCHK(tl);
if (tl->err)
break;
if (vcc_IdIs(t_field, "host")) {
ExpectErr(tl, CSTR);
assert(tl->t->dec != NULL);
......
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