[master] 2fef611 remove duplicate init
Nils Goroll
nils.goroll at uplex.de
Mon Jul 25 15:14:11 CEST 2016
commit 2fef611dcd2e3c8d8f582b538a02b1d4e6c9a249
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Sat Jul 23 19:09:14 2016 +0200
remove duplicate init
diff --git a/bin/varnishhist/varnishhist.c b/bin/varnishhist/varnishhist.c
index e03576c..794f86d 100644
--- a/bin/varnishhist/varnishhist.c
+++ b/bin/varnishhist/varnishhist.c
@@ -189,8 +189,6 @@ update(void)
erase();
/* Draw horizontal axis */
- w = COLS / hist_range;
- n = w * hist_range;
for (i = 0; i < n; ++i)
(void)mvaddch(LINES - 2, i, '-');
for (k = 0, l = hist_low; k < hist_range; ++k, ++l) {
More information about the varnish-commit
mailing list