From 3e09ed1226707860aa2c6988c5bd85098fcd52a5 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 18 Oct 2016 15:16:30 +0200 Subject: util.array: Remove unused arguments [luacheck] --- util/array.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/array.lua') 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); -- cgit v1.2.3