r3284 - trunk/varnish-cache/lib/libvcl

phk at projects.linpro.no phk at projects.linpro.no
Fri Oct 10 22:56:06 CEST 2008


Author: phk
Date: 2008-10-10 22:56:06 +0200 (Fri, 10 Oct 2008)
New Revision: 3284

Modified:
   trunk/varnish-cache/lib/libvcl/vcc_backend.c
Log:
Remove redundant error checks.



Modified: trunk/varnish-cache/lib/libvcl/vcc_backend.c
===================================================================
--- trunk/varnish-cache/lib/libvcl/vcc_backend.c	2008-10-10 20:44:14 UTC (rev 3283)
+++ trunk/varnish-cache/lib/libvcl/vcc_backend.c	2008-10-10 20:56:06 UTC (rev 3284)
@@ -358,8 +358,6 @@
 
 		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_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);




More information about the varnish-commit mailing list