From 854171dc6f238be528e21e905c4764d9522b7033 Mon Sep 17 00:00:00 2001 From: isaacs Date: Thu, 13 Dec 2012 11:15:29 -0800 Subject: [PATCH] streams2: Remove extraneous bufferSize setting --- lib/_stream_readable.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/_stream_readable.js b/lib/_stream_readable.js index 8c6e1b5b4fd..9baa2e6bfa9 100644 --- a/lib/_stream_readable.js +++ b/lib/_stream_readable.js @@ -32,9 +32,6 @@ util.inherits(Readable, Stream); function ReadableState(options, stream) { options = options || {}; - // cast to an int - this.bufferSize = ~~this.bufferSize; - // the argument passed to this._read(n,cb) this.bufferSize = options.hasOwnProperty('bufferSize') ? options.bufferSize : 16 * 1024;