Skip to content

Commit f298764

Browse files
refactor: Remove unused variables
1 parent b3dfb64 commit f298764

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,19 @@ Blobs.prototype.createWriteStream = function (opts, cb) {
4141
Transform.call(this, options)
4242
this._bufs = []
4343
this._evilIsFlushing = false
44-
this._evilPending = 0
45-
this._evilWantFinish = false
4644
this._evilFlushed = false
4745
}
4846

4947
util.inherits(FlushableStream, Transform)
5048

5149
FlushableStream.prototype._transform = function (chunk, encoding, done) {
52-
this._evilPending++
5350
// coerce number arguments to strings, since Buffer(number) does
5451
// uninitialized memory allocation
5552
if (typeof buf === 'number') chunk = chunk.toString()
5653

5754
this._bufs.push(Buffer.isBuffer(chunk) ? chunk : new Buffer(chunk))
5855
this.push(chunk)
5956

60-
this._evilPending--
6157
if (done) done()
6258
}
6359

0 commit comments

Comments
 (0)