[6.0] efb5d8018 avoid duplicate init

Nils Goroll nils.goroll at uplex.de
Thu Aug 16 08:52:22 UTC 2018


commit efb5d801864f7746d656ff4b843cd3e5f0680348
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Wed Mar 21 14:22:34 2018 +0100

    avoid duplicate init

diff --git a/bin/varnishhist/varnishhist.c b/bin/varnishhist/varnishhist.c
index 3f725972b..dd7e49749 100644
--- a/bin/varnishhist/varnishhist.c
+++ b/bin/varnishhist/varnishhist.c
@@ -506,7 +506,6 @@ main(int argc, char **argv)
 	pthread_t thr;
 	int fnum = -1;
 	struct profile cli_p = {0};
-	cli_p.name = 0;
 
 	vut = VUT_InitProg(argc, argv, &vopt_spec);
 	AN(vut);


More information about the varnish-commit mailing list