diff options
author | Alon Zakai <azakai@mozilla.com> | 2011-02-19 15:45:17 -0800 |
---|---|---|
committer | Alon Zakai <azakai@mozilla.com> | 2011-02-19 15:45:17 -0800 |
commit | f81feaff967ffdd8212ffe2da8579c4734fc7cbb (patch) | |
tree | a92d47ad3cad7146c704745426ed661714682a89 /tests/zlib | |
parent | f4a934a2adec69bc82c42342c7924fdf259f64cc (diff) |
line-specific CORRECT_OVERFLOWS and CORRECT_SIGNS
Diffstat (limited to 'tests/zlib')
-rw-r--r-- | tests/zlib/trees.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/zlib/trees.c b/tests/zlib/trees.c index 18be5013..56e9bb1c 100644 --- a/tests/zlib/trees.c +++ b/tests/zlib/trees.c @@ -722,11 +722,7 @@ local void scan_tree (s, tree, max_code) int min_count = 4; /* min repeat count */ if (nextlen == 0) max_count = 138, min_count = 3; -#ifndef EMSCRIPTEN_OPTS tree[max_code+1].Len = (ush)0xffff; /* guard */ -#else - tree[max_code+1].Len = (ush)0x7fff; /* guard. Emscripten: Prevents llvm_gcc from creating '-1' which needs unsigning later */ -#endif for (n = 0; n <= max_code; n++) { curlen = nextlen; nextlen = tree[n+1].Len; |