Skip to content

Commit

Permalink
http: fix duplicate var initialization
Browse files Browse the repository at this point in the history
IncomingMessage function contained duplicate initialization
of this._pendings. Line with one of those expressions has been
removed.
  • Loading branch information
FZambia authored and bnoordhuis committed Jan 16, 2013
1 parent bc764f3 commit eef0ccb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit eef0ccb

Please sign in to comment.