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 <[email protected]>
  • Loading branch information
gengjiawen authored and targos committed Mar 28, 2019
1 parent 766d286 commit 65a1954
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 65a1954

Please sign in to comment.