Skip to content

Commit

Permalink
src: delete unreachable code in heap_utils.cc
Browse files Browse the repository at this point in the history
PR-URL: #26815
Reviewed-By: Refael Ackermann <refack@gmail.com>
  • Loading branch information
gengjiawen authored and danbev committed Mar 28, 2019
1 parent 85546c2 commit 1b10f0d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/heap_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -280,15 +280,13 @@ class HeapSnapshotStream : public AsyncWrap,

int DoShutdown(ShutdownWrap* req_wrap) override {
UNREACHABLE();
return 0;
}

int DoWrite(WriteWrap* w,
uv_buf_t* bufs,
size_t count,
uv_stream_t* send_handle) override {
UNREACHABLE();
return 0;
}

bool IsAlive() override { return snapshot_ != nullptr; }
Expand Down

0 comments on commit 1b10f0d

Please sign in to comment.