diff --git a/lib/deflate.js b/lib/deflate.js index 130bbd5..6f98951 100644 --- a/lib/deflate.js +++ b/lib/deflate.js @@ -126,26 +126,8 @@ function deflate(input, options) { }; deflator.onEnd = function(error) { - var i, l, len, pos, chunk; - if (error) { throw error; } - - // calculate data length - len = 0; - for (i=0, l=chunks.length; i