[master] f43e9ae Don't check twice

Federico G. Schwindt fgsch at lodoss.net
Sun Oct 2 18:31:05 CEST 2016


commit f43e9ae45ddb7b6bf666ea1b3d035f03697b17be
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date:   Sun Oct 2 16:21:39 2016 +0100

    Don't check twice

diff --git a/bin/varnishd/cache/cache_ws.c b/bin/varnishd/cache/cache_ws.c
index 57f334f..2eb443f 100644
--- a/bin/varnishd/cache/cache_ws.c
+++ b/bin/varnishd/cache/cache_ws.c
@@ -176,8 +176,6 @@ WS_Printf(struct ws *ws, const char *fmt, ...)
 	va_list ap;
 	char *p;
 
-	WS_Assert(ws);
-	assert(ws->r == NULL);
 	u = WS_Reserve(ws, 0);
 	p = ws->f;
 	va_start(ap, fmt);



More information about the varnish-commit mailing list