From 95e0ff3bbccea207258dad49cbdf67bb3b7014ab Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 21 Jun 2019 04:07:33 -0600 Subject: [PATCH] ircd::buffer: Use __builtin_unreachable() for clang. --- include/ircd/buffer/const_buffer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ircd/buffer/const_buffer.h b/include/ircd/buffer/const_buffer.h index cc83ffb3d..e9e14b811 100644 --- a/include/ircd/buffer/const_buffer.h +++ b/include/ircd/buffer/const_buffer.h @@ -74,4 +74,5 @@ ircd::buffer::const_buffer::insert(const char *const &, const char &) { assert(0); + __builtin_unreachable(); }