aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-10-18 15:16:30 +0200
committerKim Alvefur <zash@zash.se>2016-10-18 15:16:30 +0200
commit3e09ed1226707860aa2c6988c5bd85098fcd52a5 (patch)
treeb8d9b9a2e7beb3212a5855036b5e7b0cfb081126
parente484a136f2bffa1f365a7cc302cf40f8fd49de5a (diff)
downloadprosody-3e09ed1226707860aa2c6988c5bd85098fcd52a5.tar.gz
prosody-3e09ed1226707860aa2c6988c5bd85098fcd52a5.zip
util.array: Remove unused arguments [luacheck]
-rw-r--r--util/array.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/array.lua b/util/array.lua
index 4b5b36c7..ea520f6b 100644
--- a/util/array.lua
+++ b/util/array.lua
@@ -106,7 +106,7 @@ function array_base.reverse(outa, ina)
end
--- These methods only mutate the array
-function array_methods:shuffle(outa, ina)
+function array_methods:shuffle()
local len = #self;
for i = 1, #self do
local r = math_random(i, len);