Skip to content

Commit 7bd7c23

Browse files
TrottMyles Borins
authored and
Myles Borins
committed
test: remove unused var from stream2 test
`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 <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 4d36a67 commit 7bd7c23

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/parallel/test-stream2-readable-legacy-drain.js

-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ r.on('end', function() {
1919

2020
var w = new Stream();
2121
w.writable = true;
22-
var writes = 0;
2322
var buffered = 0;
2423
w.write = function(c) {
25-
writes += c.length;
2624
buffered += c.length;
2725
process.nextTick(drain);
2826
return false;

0 commit comments

Comments
 (0)