From: phk Date: Fri, 10 Oct 2008 20:56:06 +0000 (+0000) Subject: Remove redundant error checks. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2990862489134788ff16cf206b2b1d70e07e6d39;p=varnish Remove redundant error checks. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3284 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/lib/libvcl/vcc_backend.c b/varnish-cache/lib/libvcl/vcc_backend.c index 3d7c9673..0a8d2b90 100644 --- a/varnish-cache/lib/libvcl/vcc_backend.c +++ b/varnish-cache/lib/libvcl/vcc_backend.c @@ -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);