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 | 71d4c99a5de0b78a9d72bd85c7a0293bfd9dbd16 (patch) | |
tree | b8d9b9a2e7beb3212a5855036b5e7b0cfb081126 | |
parent | 53bcabeef5c2e2002f6d94caff2a6dbd1b2dc329 (diff) | |
download | prosody-71d4c99a5de0b78a9d72bd85c7a0293bfd9dbd16.tar.gz prosody-71d4c99a5de0b78a9d72bd85c7a0293bfd9dbd16.zip |
util.array: Remove unused arguments [luacheck]
-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); |