diff options
author | Kim Alvefur <zash@zash.se> | 2016-10-18 15:16:30 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-10-18 15:16:30 +0200 |
commit | 3e09ed1226707860aa2c6988c5bd85098fcd52a5 (patch) | |
tree | b8d9b9a2e7beb3212a5855036b5e7b0cfb081126 /util/array.lua | |
parent | e484a136f2bffa1f365a7cc302cf40f8fd49de5a (diff) | |
download | prosody-3e09ed1226707860aa2c6988c5bd85098fcd52a5.tar.gz prosody-3e09ed1226707860aa2c6988c5bd85098fcd52a5.zip |
util.array: Remove unused arguments [luacheck]
Diffstat (limited to 'util/array.lua')
-rw-r--r-- | util/array.lua | 2 |
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); |