summaryrefslogtreecommitdiff
path: root/src/node_zlib.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_zlib.cc')
-rw-r--r--src/node_zlib.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node_zlib.cc b/src/node_zlib.cc
index 08df3e97d7..21145a0d5b 100644
--- a/src/node_zlib.cc
+++ b/src/node_zlib.cc
@@ -322,7 +322,7 @@ class ZCtx : public AsyncWrap {
}
break;
default:
- CHECK(0 && "wtf?");
+ UNREACHABLE();
}
// pass any errors back to the main thread to deal with.
@@ -550,7 +550,7 @@ class ZCtx : public AsyncWrap {
->AdjustAmountOfExternalAllocatedMemory(kInflateContextSize);
break;
default:
- CHECK(0 && "wtf?");
+ UNREACHABLE();
}
ctx->dictionary_ = reinterpret_cast<Bytef *>(dictionary);