Commit 983f9a92 authored by Ingvar Stepanyan's avatar Ingvar Stepanyan

Add unreachable hint for gcc

parent f39c2070
...@@ -530,6 +530,8 @@ Orphan<DynamicValue> JsonCodec::decode( ...@@ -530,6 +530,8 @@ Orphan<DynamicValue> JsonCodec::decode(
KJ_FAIL_REQUIRE("don't know how to JSON-decode AnyPointer; " KJ_FAIL_REQUIRE("don't know how to JSON-decode AnyPointer; "
"please register a JsonCodec::Handler for this"); "please register a JsonCodec::Handler for this");
} }
KJ_CLANG_KNOWS_THIS_IS_UNREACHABLE_BUT_GCC_DOESNT;
} }
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment