aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/init.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2015-03-16 16:55:12 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2015-03-16 16:55:12 -0400
commit39b5f8728fdd215217d2749c20a2668ecbb5f080 (patch)
tree603e845b6683f6725593c8f12e69183156b6c5c2 /core/init.lua
parentcb3e886bba78a040d486af518d491cc191cebfd8 (diff)
Code cleanup based on the output of luacheck, a Lua linter.
Diffstat (limited to 'core/init.lua')
-rw-r--r--core/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/init.lua b/core/init.lua
index 2bfb0662..591c67d1 100644
--- a/core/init.lua
+++ b/core/init.lua
@@ -18,7 +18,7 @@ _M = {} -- language modules table
if jit then module, package.searchers, bit32 = nil, package.loaders, bit end
-- pdcurses compatibility.
if CURSES and WIN32 then
- function spawn(argv, cwd, stdout_cb, stderr_cb, exit_cb)
+ function spawn(argv, cwd, stdout_cb, _, exit_cb)
local current_dir = lfs.currentdir()
if cwd then lfs.chdir(cwd) end
local p = io.popen(argv..' 2>&1')