Skip to content

Commit bd23290

Browse files
committed
buffer: remove obsolete and confusing comment
This comment applied to a line that was removed in dd67608 and is no longer relevant. PR-URL: #7264 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 4f2aec3 commit bd23290

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/buffer.js

-3
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,6 @@ function allocate(size) {
212212
alignPool();
213213
return b;
214214
} else {
215-
// Even though this is checked above, the conditional is a safety net and
216-
// sanity check to prevent any subsequent typed array allocation from not
217-
// being zero filled.
218215
return createUnsafeBuffer(size);
219216
}
220217
}

0 commit comments

Comments
 (0)