mod_admin_telnet: Remove unused variable [luacheck]
authorKim Alvefur <zash@zash.se>
Sun, 30 Sep 2018 14:48:44 +0200
changeset 9411 b4a82b726495
parent 9410 0a8ddd855587
child 9412 521df71b2630
mod_admin_telnet: Remove unused variable [luacheck]
plugins/mod_admin_telnet.lua
--- 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,