mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
buffer: remove obsolete and confusing comment
This comment applied to a line that was removed in https://github.com/nodejs/node/commit/dd67608bfdb3bef6e06a1965ecbfa51658c61b1b and is no longer relevant. PR-URL: https://github.com/nodejs/node/pull/7264 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
1 parent
4f2aec307e
commit
bd23290657
1 file changed
-3
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user