summaryrefslogtreecommitdiff
path: root/lib/http.js
diff options
context:
space:
mode:
authorAlexandr Emelin <frvzmb@gmail.com>2013-01-10 11:38:29 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2013-01-16 17:10:14 +0100
commiteef0ccbcafb82b1a47ce94fe257c991423a5bcdf (patch)
tree7797e73de7a6a47b20a585ca7f61e1609535f172 /lib/http.js
parentbc764f3dffe6906abd4df5e7189b7d96f225b4f0 (diff)
downloadandroid-node-v8-eef0ccbcafb82b1a47ce94fe257c991423a5bcdf.tar.gz
android-node-v8-eef0ccbcafb82b1a47ce94fe257c991423a5bcdf.tar.bz2
android-node-v8-eef0ccbcafb82b1a47ce94fe257c991423a5bcdf.zip
http: fix duplicate var initialization
IncomingMessage function contained duplicate initialization of this._pendings. Line with one of those expressions has been removed.
Diffstat (limited to 'lib/http.js')
-rw-r--r--lib/http.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/http.js b/lib/http.js
index 867d026104..417b3c9d20 100644
--- a/lib/http.js
+++ b/lib/http.js
@@ -289,7 +289,6 @@ function IncomingMessage(socket) {
// XXX This implementation is kind of all over the place
// When the parser emits body chunks, they go in this list.
// _read() pulls them out, and when it finds EOF, it ends.
- this._pendings = [];
this.socket = socket;
this.connection = socket;