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 targos committed Mar 30, 2019
1 parent 80e845e commit c1def07
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/heap_utils.cc
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 c1def07

Please sign in to comment.