From: Anton Shestakov Date: Sat, 9 Jul 2016 05:52:04 +0000 (+0800) Subject: util.openssl: remove unused one-letter loop variable [luacheck] X-Git-Url: https://git.enpas.org/?p=prosody.git;a=commitdiff_plain;h=b6afa2fd923572e78b5e1c9711e324aa37b43226 util.openssl: remove unused one-letter loop variable [luacheck] --- diff --git a/util/openssl.lua b/util/openssl.lua index 33234a7d..abd90a84 100644 --- a/util/openssl.lua +++ b/util/openssl.lua @@ -70,7 +70,7 @@ function ssl_config:serialize() 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);