Skip to content

Commit 745fcce

Browse files
author
Ruben Bridgewater
committed
Add var statements to undeclared variables and remove unused variables
1 parent 6866ff9 commit 745fcce

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

benches/stress/codec.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,4 @@ var json = {
55
decode: JSON.parse
66
};
77

8-
var MsgPack = require('node-msgpack');
9-
msgpack = {
10-
encode: MsgPack.pack,
11-
decode: function(str) { return MsgPack.unpack(new Buffer(str)); }
12-
};
13-
14-
bison = require('bison');
15-
168
module.exports = json;
17-
//module.exports = msgpack;
18-
//module.exports = bison;

diff_multi_bench_output.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ before_lines.forEach(function(b, i) {
3737
return;
3838
}
3939

40-
b_words = b.split(' ').filter(is_whitespace);
41-
a_words = a.split(' ').filter(is_whitespace);
40+
var b_words = b.split(' ').filter(is_whitespace);
41+
var a_words = a.split(' ').filter(is_whitespace);
4242

4343
var ops =
4444
[b_words, a_words]

0 commit comments

Comments
 (0)