src: delete unreachable code in heap_utils.cc · nodejs/node@c1def07 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Commit c1def07

gengjiawentargos

authored and

committed

src: delete unreachable code in heap_utils.cc

PR-URL: #26815Reviewed-By: Refael Ackermann refack@gmail.com

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -280,15 +280,13 @@ class HeapSnapshotStream : public AsyncWrap,
280 280
281 281 int DoShutdown(ShutdownWrap* req_wrap) override {
282 282 UNREACHABLE();
283 -return 0;
284 283 }
285 284
286 285 int DoWrite(WriteWrap* w,
287 286 uv_buf_t* bufs,
288 287 size_t count,
289 288 uv_stream_t* send_handle) override {
290 289 UNREACHABLE();
291 -return 0;
292 290 }
293 291
294 292 bool IsAlive() override { return snapshot_ != nullptr; }