diff --git a/lib/buffer.js b/lib/buffer.js index ab012c96b5611f..b71cbef8f879f8 100644 --- a/lib/buffer.js +++ b/lib/buffer.js @@ -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); } }