diff options
Diffstat (limited to 'benchmark/dgram/multi-buffer.js')
-rw-r--r-- | benchmark/dgram/multi-buffer.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/benchmark/dgram/multi-buffer.js b/benchmark/dgram/multi-buffer.js index 37fb5d1a8ec..22c30594196 100644 --- a/benchmark/dgram/multi-buffer.js +++ b/benchmark/dgram/multi-buffer.js @@ -21,7 +21,6 @@ var num; var type; var chunk; var chunks; -var encoding; function main(conf) { dur = +conf.dur; @@ -30,7 +29,7 @@ function main(conf) { type = conf.type; chunks = +conf.chunks; - chunk = [] + chunk = []; for (var i = 0; i < chunks; i++) { chunk.push(new Buffer(Math.round(len / chunks))); } |