diff --git a/src/node_buffer.cc b/src/node_buffer.cc index 3f295da89356ab..877fdc0a551579 100644 --- a/src/node_buffer.cc +++ b/src/node_buffer.cc @@ -187,6 +187,7 @@ inline MUST_USE_RESULT bool ParseArrayIndex(Local arg, // Check that the result fits in a size_t. const uint64_t kSizeMax = static_cast(static_cast(-1)); + // coverity[pointless_expression] if (static_cast(tmp_i) > kSizeMax) return false;