]> err.no Git - varnish/commitdiff
Remove redundant error checks.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 10 Oct 2008 20:56:06 +0000 (20:56 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 10 Oct 2008 20:56:06 +0000 (20:56 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3284 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libvcl/vcc_backend.c

index 3d7c9673b4f42e5b118842ba7c73375172ffdec8..0a8d2b90aff96984091a6f1e3f25df0e673fa8a5 100644 (file)
@@ -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);