[master] d1c87cc1e [vstat] remove useless if

Nils Goroll nils.goroll at uplex.de
Wed Apr 1 08:33:07 UTC 2020


commit d1c87cc1ed23309a461c157474affc115805f767
Author: Guillaume Quintard <guillaume at varnish-software.com>
Date:   Tue Feb 4 16:31:05 2020 -0800

    [vstat] remove useless if

diff --git a/bin/varnishstat/varnishstat.c b/bin/varnishstat/varnishstat.c
index f9e6b89c1..347493e7a 100644
--- a/bin/varnishstat/varnishstat.c
+++ b/bin/varnishstat/varnishstat.c
@@ -123,9 +123,6 @@ do_json_cb(void *priv, const struct VSC_point * const pt)
 	printf("\"format\": \"%c\",\n", pt->format);
 	printf("    \"value\": %ju", (uintmax_t)val);
 	printf("\n  }");
-
-	if (*jp)
-		printf("\n");
 	return (0);
 }
 


More information about the varnish-commit mailing list