diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2020-12-17 18:29:30 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2020-12-17 18:29:30 +0000 |
commit | 29842cb36e74037989b7a7f0bf38a47f342bac91 (patch) | |
tree | 9159902175ca375cde5f2e1c6b8e95d0df2f3e1b /stand | |
parent | 7ed84fa14b00cdacfe9b43019cba7a14b33af352 (diff) | |
download | src-test-29842cb36e74037989b7a7f0bf38a47f342bac91.tar.gz src-test-29842cb36e74037989b7a7f0bf38a47f342bac91.zip |
lualoader: fix lua-lint run
luacheck rightfully complains that i is unused in the show-module-options
loop at the end (it was used for some debugging in the process).
We've added a new pager module that's compiled in, so declare that as an
acceptable global.
Notes
Notes:
svn path=/head/; revision=368729
Diffstat (limited to 'stand')
-rw-r--r-- | stand/lua/cli.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/lua/cli.lua b/stand/lua/cli.lua index 9ed26af4b700f..cfdc69a520a0f 100644 --- a/stand/lua/cli.lua +++ b/stand/lua/cli.lua @@ -234,7 +234,7 @@ cli["show-module-options"] = function() end pager.open() - for i, v in ipairs(lines) do + for _, v in ipairs(lines) do pager.output(v .. "\n") end pager.close() |