Changeset

7482:88a92ba697bf

util.openssl: remove unused one-letter loop variable [luacheck]
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 09 Jul 2016 13:52:04 +0800
parents 7481:b3a864df32ef
children 7483:8c5320a4bfaf
files util/openssl.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/openssl.lua	Sat Jul 09 10:27:57 2016 +0800
+++ b/util/openssl.lua	Sat Jul 09 13:52:04 2016 +0800
@@ -70,7 +70,7 @@
 				end
 			end
 		elseif k == "distinguished_name" then
-			for i, k in ipairs(t[1] and t or DN_order) do
+			for _, k in ipairs(t[1] and t or DN_order) do
 				local v = t[k];
 				if v then
 					s = s .. ("%s = %s\n"):format(k, v);