diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-29 17:07:20 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-29 17:07:20 +1000 |
commit | 490e035f97ace73b3ee1c1033fb412b5d1433ce2 (patch) | |
tree | 8ec646741214c2a9db1f5e68a17a4a5f1c829edc /src/lparser.js | |
parent | 84dfcea32ad517400e970b7cf978246367ec9e46 (diff) | |
download | fengari-490e035f97ace73b3ee1c1033fb412b5d1433ce2.tar.gz fengari-490e035f97ace73b3ee1c1033fb412b5d1433ce2.tar.bz2 fengari-490e035f97ace73b3ee1c1033fb412b5d1433ce2.zip |
Fix some warnings found by closure-compiler
Diffstat (limited to 'src/lparser.js')
-rw-r--r-- | src/lparser.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lparser.js b/src/lparser.js index 2dd9c7d..7fc1458 100644 --- a/src/lparser.js +++ b/src/lparser.js @@ -578,11 +578,10 @@ const leaveblock = function(fs) { }; const close_func = function(ls) { - let L = ls.L; let fs = ls.fs; - let f = fs.f; lcode.luaK_ret(fs, 0, 0); /* final return */ leaveblock(fs); + assert(fs.bl === null); ls.fs = fs.prev; }; |