Skip to content

Commit

Permalink
Remove unused outer array.
Browse files Browse the repository at this point in the history
  • Loading branch information
flatheadmill committed Jun 28, 2015
1 parent 531afd9 commit 625cfdf
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions composers.js
Expand Up @@ -340,10 +340,8 @@ exports.composeParser = function (ranges) {
}

function composeIncrementalSerializer (ranges) {
var outer = [ 'var .index;', 'var .bite;' ]
var tmp, previous = ''
var variables = [ 'index', 'bite', 'next' ]
outer.push('var .next;')

ranges.forEach(function (range, rangeIndex) {
var offset = 0
Expand Down Expand Up @@ -485,9 +483,6 @@ function composeIncrementalSerializer (ranges) {
return start \n\
')

outer.push('var .index;')
outer.push('var .bite;')

// TODO: Add a `var next` here.
tmp = $(' \n\
this.write = function (buffer, start, end) { \n\
Expand Down

0 comments on commit 625cfdf

Please sign in to comment.