aboutsummaryrefslogtreecommitdiffstats
path: root/fallbacks/bit.lua
diff options
context:
space:
mode:
authorAnton Shestakov <av6@dwimlabs.net>2016-07-14 18:40:43 +0800
committerAnton Shestakov <av6@dwimlabs.net>2016-07-14 18:40:43 +0800
commitea1dd1eb0dfdc2bb33e182c3ae955ab1e8bbe3e2 (patch)
tree9b33a4792f8848b75441f9d0371f10b2ef8277be /fallbacks/bit.lua
parent1796694c7608ca0d3f4f67f93d54ab661cb90971 (diff)
downloadprosody-ea1dd1eb0dfdc2bb33e182c3ae955ab1e8bbe3e2.tar.gz
prosody-ea1dd1eb0dfdc2bb33e182c3ae955ab1e8bbe3e2.zip
fallbacks.bit: remove unused one-letter loop variables [luacheck]
Diffstat (limited to 'fallbacks/bit.lua')
-rw-r--r--fallbacks/bit.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/fallbacks/bit.lua b/fallbacks/bit.lua
index 28dca4e6..b41a0229 100644
--- a/fallbacks/bit.lua
+++ b/fallbacks/bit.lua
@@ -68,7 +68,7 @@ local function _rshift1(t)
end
function rshift(a, i)
local t = {a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]};
- for n = 1,i do _rshift1(t); end
+ for _ = 1, i do _rshift1(t); end
return setmetatable(t, bit_mt);
end
local function _arshift1(t)
@@ -81,7 +81,7 @@ local function _arshift1(t)
end
function arshift(a, i)
local t = {a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]};
- for n = 1,i do _arshift1(t); end
+ for _ = 1, i do _arshift1(t); end
return setmetatable(t, bit_mt);
end
local function _lshift1(t)
@@ -94,7 +94,7 @@ local function _lshift1(t)
end
function lshift(a, i)
local t = {a[1], a[2], a[3], a[4], a[5], a[6], a[7], a[8]};
- for n = 1,i do _lshift1(t); end
+ for _ = 1, i do _lshift1(t); end
return setmetatable(t, bit_mt);
end