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 <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • 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.