aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lstate.js1
-rw-r--r--src/lvm.js1
2 files changed, 0 insertions, 2 deletions
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);