summaryrefslogtreecommitdiff
path: root/lib/_stream_transform.js
diff options
context:
space:
mode:
authorBrian White <mscdex@mscdex.net>2014-06-11 15:16:48 -0400
committerFedor Indutny <fedor@indutny.com>2014-06-11 20:41:12 -0700
commit03e9f84933fe610b04b107cf1f83d17485e8906e (patch)
treebce50c713c89aa8b1f7686a203769ad22a1c9a0f /lib/_stream_transform.js
parenteef0715db56f8b9b0207c1b979e4ff9f5acef475 (diff)
downloadnode-new-03e9f84933fe610b04b107cf1f83d17485e8906e.tar.gz
lib: remove unused variables
Signed-off-by: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'lib/_stream_transform.js')
-rw-r--r--lib/_stream_transform.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/_stream_transform.js b/lib/_stream_transform.js
index b1f9fcce11..1843f51b75 100644
--- a/lib/_stream_transform.js
+++ b/lib/_stream_transform.js
@@ -69,7 +69,7 @@ var util = require('util');
util.inherits(Transform, Duplex);
-function TransformState(options, stream) {
+function TransformState(stream) {
this.afterTransform = function(er, data) {
return afterTransform(stream, er, data);
};
@@ -112,7 +112,7 @@ function Transform(options) {
Duplex.call(this, options);
- this._transformState = new TransformState(options, this);
+ this._transformState = new TransformState(this);
// when the writable side finishes, then flush out anything remaining.
var stream = this;