Skip to content

Commit

Permalink
buffer: remove obsolete and confusing comment
Browse files Browse the repository at this point in the history
This comment applied to a line that was removed in
dd67608
and is no longer relevant.

PR-URL: #7264
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
seishun committed Jun 12, 2016
1 parent 4f2aec3 commit bd23290
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/buffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,6 @@ function allocate(size) {
alignPool();
return b;
} else {
// Even though this is checked above, the conditional is a safety net and
// sanity check to prevent any subsequent typed array allocation from not
// being zero filled.
return createUnsafeBuffer(size);
}
}
Expand Down

0 comments on commit bd23290

Please sign in to comment.