Skip to content

Commit c1def07

Browse files
gengjiawentargos
authored andcommittedMar 30, 2019
src: delete unreachable code in heap_utils.cc
PR-URL: #26815 Reviewed-By: Refael Ackermann <refack@gmail.com>
1 parent 80e845e commit c1def07

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎src/heap_utils.cc

-2
Original file line numberDiff line numberDiff line change
@@ -280,15 +280,13 @@ class HeapSnapshotStream : public AsyncWrap,
280280

281281
int DoShutdown(ShutdownWrap* req_wrap) override {
282282
UNREACHABLE();
283-
return 0;
284283
}
285284

286285
int DoWrite(WriteWrap* w,
287286
uv_buf_t* bufs,
288287
size_t count,
289288
uv_stream_t* send_handle) override {
290289
UNREACHABLE();
291-
return 0;
292290
}
293291

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

0 commit comments

Comments
 (0)
Please sign in to comment.