remove unused var declaration

pull/7/head
yann300 8 years ago
parent a3e99b8212
commit f51b56d811
  1. 3
      src/util/internalCallTree.js

@ -73,9 +73,8 @@ class InternalCallTree {
var scopeId = util.findLowerBoundValue(vmtraceIndex, scopes)
scopeId = this.scopeStarts[scopeId]
var scope = this.scopes[scopeId]
var reg = /(.\d|\d)$/
while (scope.lastStep && scope.lastStep < vmtraceIndex) {
var matched = scopeId.match(reg)
var matched = scopeId.match(/(.\d|\d)$/)
scopeId = scopeId.replace(matched[1], '')
scope = this.scopes[scopeId]
}

Loading…
Cancel
Save