Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buffer: remove obsolete and confusing comment #7264

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
buffer: remove obsolete and confusing comment
This comment applied to a line that was removed in
dd67608
and is no longer relevant.
  • Loading branch information
seishun authored Jun 10, 2016
commit 3c7105b7655178a9f257560289bda5968d3c6c00
3 changes: 0 additions & 3 deletions lib/buffer.js
Original file line number Diff line number Diff line change
@@ -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);
}
}