From eef0ccbcafb82b1a47ce94fe257c991423a5bcdf Mon Sep 17 00:00:00 2001 From: Alexandr Emelin Date: Thu, 10 Jan 2013 11:38:29 +0400 Subject: [PATCH] http: fix duplicate var initialization IncomingMessage function contained duplicate initialization of this._pendings. Line with one of those expressions has been removed. --- lib/http.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/http.js b/lib/http.js index 867d026..417b3c9 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; -- 2.7.4