From 1b8e69bec6a9b3020a85600f5f0d64e7683c778d Mon Sep 17 00:00:00 2001 From: daurnimator Date: Thu, 4 May 2017 14:47:56 +1000 Subject: src/ldebug.js: Remove unused argument --- src/ldebug.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ldebug.js b/src/ldebug.js index 25af97b..3bd5cf0 100644 --- a/src/ldebug.js +++ b/src/ldebug.js @@ -86,7 +86,7 @@ const upvalname = function(p, uv) { return s; }; -const findvararg = function(ci, n, pos) { +const findvararg = function(ci, n) { let nparams = ci.func.value.p.numparams; if (n >= ci.u.l.base - ci.funcOff - nparams) return null; /* no such vararg */ @@ -509,7 +509,7 @@ const isinstack = function(L, ci, o) { ** with instructions OP_GETTABUP/OP_SETTABUP, which operate directly on ** upvalues.) */ -const getupvalname = function(L, ci, o, name) { +const getupvalname = function(L, ci, o) { let c = ci.func; for (let i = 0; i < c.nupvalues; i++) { if (c.upvals[i].val(L) === o) { -- cgit v1.2.3-70-g09d2