diff --git a/src/node_zlib.cc b/src/node_zlib.cc index 2133aac26ce2ae..1a623075a5a421 100644 --- a/src/node_zlib.cc +++ b/src/node_zlib.cc @@ -336,7 +336,7 @@ class ZCtx : public AsyncWrap { } break; default: - CHECK(0 && "wtf?"); + UNREACHABLE(); } // pass any errors back to the main thread to deal with. @@ -547,7 +547,7 @@ class ZCtx : public AsyncWrap { ->AdjustAmountOfExternalAllocatedMemory(kInflateContextSize); break; default: - CHECK(0 && "wtf?"); + UNREACHABLE(); } ctx->dictionary_ = reinterpret_cast(dictionary);