diff options
author | Brian White <mscdex@mscdex.net> | 2013-08-15 17:55:35 -0400 |
---|---|---|
committer | Trevor Norris <trev.norris@gmail.com> | 2013-08-15 17:19:18 -0700 |
commit | e62d5964def23a619048237490f27ac781fb09ab (patch) | |
tree | b36e87f58eef30d6a7e534804616a1c547749fcb /lib/buffer.js | |
parent | 6d842897c5966cee1924b5073e273568923c8693 (diff) | |
download | node-new-e62d5964def23a619048237490f27ac781fb09ab.tar.gz |
buffer: remove unused parameters
Diffstat (limited to 'lib/buffer.js')
-rw-r--r-- | lib/buffer.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/buffer.js b/lib/buffer.js index 377ee61728..b6dfc526cc 100644 --- a/lib/buffer.js +++ b/lib/buffer.js @@ -409,7 +409,7 @@ Buffer.prototype.readUInt16BE = function(offset, noAssert) { }; -function readUInt32(buffer, offset, isBigEndian, noAssert) { +function readUInt32(buffer, offset, isBigEndian) { var val = 0; if (isBigEndian) { val = buffer[offset + 1] << 16; @@ -430,7 +430,7 @@ Buffer.prototype.readUInt32LE = function(offset, noAssert) { offset = ~~offset; if (!noAssert) checkOffset(offset, 4, this.length); - return readUInt32(this, offset, false, noAssert); + return readUInt32(this, offset, false); }; @@ -438,7 +438,7 @@ Buffer.prototype.readUInt32BE = function(offset, noAssert) { offset = ~~offset; if (!noAssert) checkOffset(offset, 4, this.length); - return readUInt32(this, offset, true, noAssert); + return readUInt32(this, offset, true); }; |