# HG changeset patch # User Anton Shestakov # Date 1468492843 -28800 # Node ID b4f781ed7045050e832b827065a14ae0c2399377 # Parent 92e1c8355694abd2254ac7eb5ebc5b0589465b60 fallbacks.bit: remove unused one-letter loop variables [luacheck] diff -r 92e1c8355694 -r b4f781ed7045 fallbacks/bit.lua --- a/fallbacks/bit.lua Thu Jul 14 17:23:57 2016 +0800 +++ b/fallbacks/bit.lua Thu Jul 14 18:40:43 2016 +0800 @@ -68,7 +68,7 @@ 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 @@ 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 @@ 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