Changeset

9408:b4a82b726495

mod_admin_telnet: Remove unused variable [luacheck]
author Kim Alvefur <zash@zash.se>
date Sun, 30 Sep 2018 14:48:44 +0200
parents 9407:0a8ddd855587
children 9409:521df71b2630
files plugins/mod_admin_telnet.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_admin_telnet.lua	Sun Sep 30 14:38:32 2018 +0200
+++ b/plugins/mod_admin_telnet.lua	Sun Sep 30 14:48:44 2018 +0200
@@ -1300,7 +1300,7 @@
 function stats_methods:summary()
 	local statistics = require "util.statistics";
 	for _, stat_info in ipairs(self) do
-		local name, type, value, data = stat_info[1], stat_info[2], stat_info[3], stat_info[4];
+		local type, value, data = stat_info[2], stat_info[3], stat_info[4];
 		if data and data.samples then
 			table.insert(stat_info.output, string.format("Count: %d (%d captured)",
 				data.count,