[master] ba721c2 Tautological assert

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Mar 6 14:34:06 CET 2017


commit ba721c27062202ef191a2f48dc8c6d708abb71ca
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Mar 6 14:33:25 2017 +0100

    Tautological assert

diff --git a/bin/varnishd/cache/cache_backend_probe.c b/bin/varnishd/cache/cache_backend_probe.c
index e862431..5dbf11f 100644
--- a/bin/varnishd/cache/cache_backend_probe.c
+++ b/bin/varnishd/cache/cache_backend_probe.c
@@ -300,7 +300,6 @@ vbp_poke(struct vbp_target *vt)
 	}
 
 	/* Send the PROXY header */
-	assert(vt->backend->proxy_header >= 0);
 	assert(vt->backend->proxy_header <= 2);
 	if (vt->backend->proxy_header == 1) {
 		if (vbp_write_proxy_v1(vt, s) != 0)



More information about the varnish-commit mailing list