Skip to content

Commit

Permalink
Buffer not needed and leaking a global.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marsup authored and indexzero committed Nov 25, 2011
1 parent 482d09c commit d081d49
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/vows/reporters/spec.js
Expand Up @@ -15,8 +15,6 @@ this.setStream = function (s) {
this.report = function (data) {
var event = data[1];

buffer = [];

switch (data[0]) {
case 'subject':
puts('\n♢ ' + stylize(event, 'bold') + '\n');
Expand Down

0 comments on commit d081d49

Please sign in to comment.