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:
Nikolai Vavilov committed 2016-06-12 15:40:17 +03:00
1 parent 4f2aec307e
commit bd23290657
1 file changed
-3
-3
View File
@@ -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);
}
}