diff options
author | daurnimator <quae@daurnimator.com> | 2017-05-29 15:45:07 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-05-29 15:51:03 +1000 |
commit | 00a0649ca3c378bb7e4910571207617f7852c420 (patch) | |
tree | c04497d6183b248992882f56aa5135559b21a089 /src/lutf8lib.js | |
parent | a5e267bf7df32e3ff6add67b7985c587fe8e3fb1 (diff) | |
download | fengari-00a0649ca3c378bb7e4910571207617f7852c420.tar.gz fengari-00a0649ca3c378bb7e4910571207617f7852c420.tar.bz2 fengari-00a0649ca3c378bb7e4910571207617f7852c420.zip |
Fix some jshint warnings
Diffstat (limited to 'src/lutf8lib.js')
-rw-r--r-- | src/lutf8lib.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lutf8lib.js b/src/lutf8lib.js index 1a401c4..de97bec 100644 --- a/src/lutf8lib.js +++ b/src/lutf8lib.js @@ -21,7 +21,7 @@ const u_posrelat = function(pos, len) { /* ** Decode one UTF-8 sequence, returning NULL if byte sequence is invalid. */ -const utf8_decode = function(s, val) { +const utf8_decode = function(s) { let limits = [0xFF, 0x7F, 0x7FF, 0xFFFF]; let c = s[0]; let res = 0; /* final result */ |