Skip to content

Commit

Permalink
benchmark: removed unused arguments from callbacks
Browse files Browse the repository at this point in the history
Removed unused arguments 'buf' and 'rinfo' from the callbacks.

PR-URL: #14919
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
abhishek-raj authored and MylesBorins committed Sep 12, 2017
1 parent daae6bc commit 7f1ea7c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion benchmark/dgram/multi-buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function server() {
}, dur * 1000);
});

socket.on('message', function(buf, rinfo) {
socket.on('message', function() {
received++;
});

Expand Down
2 changes: 1 addition & 1 deletion benchmark/dgram/offset-length.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function server() {
}, dur * 1000);
});

socket.on('message', function(buf, rinfo) {
socket.on('message', function() {
received++;
});

Expand Down
2 changes: 1 addition & 1 deletion benchmark/dgram/single-buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function server() {
}, dur * 1000);
});

socket.on('message', function(buf, rinfo) {
socket.on('message', function() {
received++;
});

Expand Down

0 comments on commit 7f1ea7c

Please sign in to comment.