Skip to content

Commit

Permalink
Merge pull request beatgammit#36 from lukechilds/cleanup
Browse files Browse the repository at this point in the history
Remove unused variable
  • Loading branch information
feross authored Jun 22, 2017
2 parents da5718e + c3311f9 commit cf6e9a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function byteLength (b64) {
}

function toByteArray (b64) {
var i, j, l, tmp, placeHolders, arr
var i, l, tmp, placeHolders, arr
var len = b64.length
placeHolders = placeHoldersCount(b64)

Expand All @@ -48,7 +48,7 @@ function toByteArray (b64) {

var L = 0

for (i = 0, j = 0; i < l; i += 4, j += 3) {
for (i = 0; i < l; i += 4) {
tmp = (revLookup[b64.charCodeAt(i)] << 18) | (revLookup[b64.charCodeAt(i + 1)] << 12) | (revLookup[b64.charCodeAt(i + 2)] << 6) | revLookup[b64.charCodeAt(i + 3)]
arr[L++] = (tmp >> 16) & 0xFF
arr[L++] = (tmp >> 8) & 0xFF
Expand Down

0 comments on commit cf6e9a7

Please sign in to comment.