prosodyctl: remove unused one-letter loop variable [luacheck]
authorAnton Shestakov <av6@dwimlabs.net>
Sat, 09 Jul 2016 13:52:57 +0800
changeset 7486 8c5320a4bfaf
parent 7485 88a92ba697bf
child 7487 d962ccf90735
prosodyctl: remove unused one-letter loop variable [luacheck]
prosodyctl
--- a/prosodyctl	Sat Jul 09 13:52:04 2016 +0800
+++ b/prosodyctl	Sat Jul 09 13:52:57 2016 +0800
@@ -717,7 +717,7 @@
 		else
 			show_message("Please provide details to include in the certificate config file.");
 			show_message("Leave the field empty to use the default value or '.' to exclude the field.")
-			for i, k in ipairs(openssl._DN_order) do
+			for _, k in ipairs(openssl._DN_order) do
 				local v = conf.distinguished_name[k];
 				if v then
 					local nv;