From 3c7105b7655178a9f257560289bda5968d3c6c00 Mon Sep 17 00:00:00 2001 From: Nikolai Vavilov Date: Fri, 10 Jun 2016 17:16:44 +0300 Subject: [PATCH] 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. --- lib/buffer.js | 3 --- 1 file changed, 3 deletions(-) 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); } }