Skip to content
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.

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: nodejs/node#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 jasnell committed Aug 21, 2017
1 parent f0d8eb6 commit 36817f7
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 36817f7

Please sign in to comment.