[master] b101ec4 Needless branch

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed Mar 8 20:28:05 CET 2017


commit b101ec43a52c041c5c4d0c1f5e47cc5c863a1469
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Wed Mar 8 19:56:25 2017 +0100

    Needless branch

diff --git a/bin/varnishtest/vtc_log.c b/bin/varnishtest/vtc_log.c
index ae15e7e..7f31744 100644
--- a/bin/varnishtest/vtc_log.c
+++ b/bin/varnishtest/vtc_log.c
@@ -190,8 +190,6 @@ vtc_log(struct vtclog *vl, int lvl, const char *fmt, ...)
 	va_end(ap);
 	REL_VL(vl);
 
-	if (lvl > 0)
-		return;
 	if (lvl == 0)
 		vtc_logfail();
 }



More information about the varnish-commit mailing list