Skip to content

Commit

Permalink
remove unused line from formatting code
Browse files Browse the repository at this point in the history
  • Loading branch information
Andras committed Jan 16, 2019
1 parent 58e013a commit a4d3b4f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions uuid.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ function arrayConcat(a) {
// Arrays are a good compromise, fast enough on all versions.
function setChars( buf, n, pos ) {
for (var i=0; i<8; i+=2) {
n *= 256;
var byte = n & 0xFF;
n *= 0x100;
buf[pos+i+0] = hexchars[n & 0xF0];
buf[pos+i+1] = hexchars[n & 0x0F];
n -= Math.floor(n);
Expand Down

0 comments on commit a4d3b4f

Please sign in to comment.