aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-04-27 12:05:37 +0200
committerBenoit Giannangeli <giann008@gmail.com>2017-05-05 13:41:53 +0200
commitc421f2bc81f1f1c711591a0ad0308d9eb5adb812 (patch)
tree6272ebae07d1899b0baa0a137f5752b1e1987249 /src
parent91be09a37c65b6b9247c7e3cdf4e189627226511 (diff)
downloadfengari-c421f2bc81f1f1c711591a0ad0308d9eb5adb812.tar.gz
fengari-c421f2bc81f1f1c711591a0ad0308d9eb5adb812.tar.bz2
fengari-c421f2bc81f1f1c711591a0ad0308d9eb5adb812.zip
[test-suite] calls.js
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);