benchmark: removed unused arguments from callbacks

Removed unused arguments 'buf' and 'rinfo' from the callbacks.

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Abhishek Raj authored and Myles Borins committed 2017-09-12 03:17:05 +02:00
1 parent daae6bc652
commit 7f1ea7c3af
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -64,7 +64,7 @@ function server() {
}, dur * 1000);
});
socket.on('message', function(buf, rinfo) {
socket.on('message', function() {
received++;
});
+1 -1
View File
@@ -56,7 +56,7 @@ function server() {
}, dur * 1000);
});
socket.on('message', function(buf, rinfo) {
socket.on('message', function() {
received++;
});
+1 -1
View File
@@ -56,7 +56,7 @@ function server() {
}, dur * 1000);
});
socket.on('message', function(buf, rinfo) {
socket.on('message', function() {
received++;
});