diff --git a/lib/inflate.js b/lib/inflate.js index a081ea8..c3221ba 100644 --- a/lib/inflate.js +++ b/lib/inflate.js @@ -11,9 +11,9 @@ var gzheader = require('./zlib/gzheader'); // calculate tail size of utf8 char by current byte value -function utf8tail(code) { +/*function utf8tail(code) { return code >= 252 ? 6 : code >= 248 ? 5 : code >= 240 ? 4 : code >= 224 ? 3 : code >= 192 ? 2 : 1; -} +}*/ /** * class Inflate @@ -180,7 +180,7 @@ Inflate.prototype.push = function(data, mode) { var strm = this.strm; var chunkSize = this.options.chunkSize; var status, _mode; - var next_out_utf8_index, tail, utf8str; + //var next_out_utf8_index, tail, utf8str; if (this.ended) { return false; } _mode = (mode === ~~mode) ? mode : ((mode === true) ? c.Z_FINISH : c.Z_NO_FLUSH);