From 1b10f0d63c74623e1659e45e5116fccbe413bab0 Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Wed, 20 Mar 2019 21:15:38 +0800 Subject: [PATCH] src: delete unreachable code in heap_utils.cc PR-URL: https://github.com/nodejs/node/pull/26815 Reviewed-By: Refael Ackermann --- src/heap_utils.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/heap_utils.cc b/src/heap_utils.cc index 6ce8c1dbdbb945..d5b5afa4d5be9e 100644 --- a/src/heap_utils.cc +++ b/src/heap_utils.cc @@ -280,7 +280,6 @@ class HeapSnapshotStream : public AsyncWrap, int DoShutdown(ShutdownWrap* req_wrap) override { UNREACHABLE(); - return 0; } int DoWrite(WriteWrap* w, @@ -288,7 +287,6 @@ class HeapSnapshotStream : public AsyncWrap, size_t count, uv_stream_t* send_handle) override { UNREACHABLE(); - return 0; } bool IsAlive() override { return snapshot_ != nullptr; }