From c421f2bc81f1f1c711591a0ad0308d9eb5adb812 Mon Sep 17 00:00:00 2001 From: Benoit Giannangeli Date: Thu, 27 Apr 2017 12:05:37 +0200 Subject: [test-suite] calls.js --- src/lstate.js | 1 - src/lvm.js | 1 - 2 files changed, 2 deletions(-) (limited to 'src') diff --git a/src/lstate.js b/src/lstate.js index 4fd2951..fee308c 100644 --- a/src/lstate.js +++ b/src/lstate.js @@ -168,7 +168,6 @@ const lua_newstate = function() { }; const close_state = function(L) { - let g = L.l_G; lfunc.luaF_close(L, L.stack); /* close all upvalues for this thread */ }; diff --git a/src/lvm.js b/src/lvm.js index 9e280c9..fe0bd0a 100644 --- a/src/lvm.js +++ b/src/lvm.js @@ -525,7 +525,6 @@ const luaV_execute = function(L) { let oci = nci.previous; let nfunc = nci.func; let nfuncOff = nci.funcOff; - let ofunc = oci.func; let ofuncOff = oci.funcOff; let lim = nci.l_base + nfunc.value.p.numparams; if (cl.p.p.length > 0) lfunc.luaF_close(L, oci.l_base); -- cgit v1.2.3-70-g09d2