File tree 1 file changed +0
-5
lines changed
1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ class ZCtx : public AsyncWrap {
54
54
public:
55
55
ZCtx (Environment* env, Local<Object> wrap, node_zlib_mode mode)
56
56
: AsyncWrap(env, wrap, AsyncWrap::PROVIDER_ZLIB),
57
- chunk_size_ (0 ),
58
57
dictionary_ (nullptr ),
59
58
dictionary_len_(0 ),
60
59
err_(0 ),
@@ -179,9 +178,6 @@ class ZCtx : public AsyncWrap {
179
178
ctx->strm_ .next_out = out;
180
179
ctx->flush_ = flush;
181
180
182
- // set this so that later on, I can easily tell how much was written.
183
- ctx->chunk_size_ = out_len;
184
-
185
181
if (!async) {
186
182
// sync version
187
183
ctx->env ()->PrintSyncTrace ();
@@ -625,7 +621,6 @@ class ZCtx : public AsyncWrap {
625
621
static const int kDeflateContextSize = 16384 ; // approximate
626
622
static const int kInflateContextSize = 10240 ; // approximate
627
623
628
- int chunk_size_;
629
624
Bytef* dictionary_;
630
625
size_t dictionary_len_;
631
626
int err_;
You can’t perform that action at this time.
0 commit comments