Skip to content

Commit

Permalink
test: remove unused var from stream2 test
Browse files Browse the repository at this point in the history
`writes` is assigned but never used. Remove it.

(This was missed by the linter in previous versions of ESLint but is
flagged by the current version. Updating the linter is contingent on
this change or some similar remedy landing.)

PR-URL: #7596
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
  • Loading branch information
Trott authored and evanlucas committed Jul 13, 2016
1 parent 9716729 commit 3260065
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/parallel/test-stream2-readable-legacy-drain.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ r.on('end', function() {

var w = new Stream();
w.writable = true;
var writes = 0;
var buffered = 0;
w.write = function(c) {
writes += c.length;
buffered += c.length;
process.nextTick(drain);
return false;
Expand Down

0 comments on commit 3260065

Please sign in to comment.