# HG changeset patch # User Kim Alvefur # Date 1476796590 -7200 # Node ID 0d70410efdcf4683c58da7b4832b5f1e6e923aa2 # Parent 9c40d0be2295a5d5044f061522cd564824752db7 util.array: Remove unused arguments [luacheck] diff -r 9c40d0be2295 -r 0d70410efdcf util/array.lua --- a/util/array.lua Tue Oct 18 15:16:18 2016 +0200 +++ b/util/array.lua Tue Oct 18 15:16:30 2016 +0200 @@ -106,7 +106,7 @@ 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);