diff options
author | Brian White <mscdex@mscdex.net> | 2013-08-15 17:55:05 -0400 |
---|---|---|
committer | Trevor Norris <trev.norris@gmail.com> | 2013-08-15 17:19:17 -0700 |
commit | 6d842897c5966cee1924b5073e273568923c8693 (patch) | |
tree | f1b0c2cc3f5113f938ff839e010554046db06c22 /lib/_stream_transform.js | |
parent | 1f9f86349410f0a008f8d0df9aa66aed60f7a8e9 (diff) | |
download | node-new-6d842897c5966cee1924b5073e273568923c8693.tar.gz |
lib: remove unused variables and functions
Diffstat (limited to 'lib/_stream_transform.js')
-rw-r--r-- | lib/_stream_transform.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/_stream_transform.js b/lib/_stream_transform.js index d2bdcffe66..b1f9fcce11 100644 --- a/lib/_stream_transform.js +++ b/lib/_stream_transform.js @@ -112,7 +112,7 @@ function Transform(options) { Duplex.call(this, options); - var ts = this._transformState = new TransformState(options, this); + this._transformState = new TransformState(options, this); // when the writable side finishes, then flush out anything remaining. var stream = this; @@ -192,7 +192,6 @@ function done(stream, er) { // if there's nothing in the write buffer, then that means // that nothing more will ever be provided var ws = stream._writableState; - var rs = stream._readableState; var ts = stream._transformState; if (ws.length) |