From 39b5f8728fdd215217d2749c20a2668ecbb5f080 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 16 Mar 2015 16:55:12 -0400 Subject: Code cleanup based on the output of luacheck, a Lua linter. --- core/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/init.lua') 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') -- cgit v1.2.3