Skip to content

Commit

Permalink
Removes unused variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
publickeating committed Jan 26, 2015
1 parent 43794fb commit 41ec83a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions frameworks/runtime/system/index_set.js
Expand Up @@ -456,7 +456,6 @@ SC.IndexSet = SC.mixin({},
}
}

var oldlen = this.length;
this._content.length=1;
this._content[0] = 0;
this.length = this.max = 0; // reset without notifying since add()
Expand Down Expand Up @@ -678,7 +677,6 @@ SC.IndexSet = SC.mixin({},

// special case - appending to end of set
var max = this.get('max'),
oldmax = max,
content = this._content,
cur, next, delta, value, last;

Expand Down Expand Up @@ -1115,7 +1113,6 @@ SC.IndexSet = SC.mixin({},

var content = this._content,
cur = 0,
idx = 0,
next = content[cur];

if (target === undefined) target = null;
Expand Down
2 changes: 1 addition & 1 deletion frameworks/runtime/system/string.js
Expand Up @@ -85,7 +85,7 @@ SC.String = /** @scope SC.String.prototype */ {
*/
fmt: function(string, args) {
var i = 0, data = undefined, hasHadNamedArguments;
var i = 0, data, hasHadNamedArguments;
if (args) {
data = args[0];
}
Expand Down

0 comments on commit 41ec83a

Please sign in to comment.