mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
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:
1 parent
daae6bc652
commit
7f1ea7c3af
3 files changed
+3
-3
No files matched your search
@@ -64,7 +64,7 @@ function server() {
|
||||
}, dur * 1000);
|
||||
});
|
||||
|
||||
socket.on('message', function(buf, rinfo) {
|
||||
socket.on('message', function() {
|
||||
received++;
|
||||
});
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ function server() {
|
||||
}, dur * 1000);
|
||||
});
|
||||
|
||||
socket.on('message', function(buf, rinfo) {
|
||||
socket.on('message', function() {
|
||||
received++;
|
||||
});
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ function server() {
|
||||
}, dur * 1000);
|
||||
});
|
||||
|
||||
socket.on('message', function(buf, rinfo) {
|
||||
socket.on('message', function() {
|
||||
received++;
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user