From f6edba4a872e2c5781bb6cb05f66a57e16455f15 Mon Sep 17 00:00:00 2001 From: Josh Wolfe Date: Thu, 7 Apr 2016 18:02:30 -0700 Subject: fix gcc compile errors --- src/analyze.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/analyze.cpp') diff --git a/src/analyze.cpp b/src/analyze.cpp index b1ffa8b969..96eca1de91 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -2879,6 +2879,7 @@ static bool const_values_equal(ConstExprValue *a, ConstExprValue *b, TypeTableEn case TypeTableEntryIdUnreachable: zig_unreachable(); } + zig_unreachable(); } static TypeTableEntry *analyze_bool_bin_op_expr(CodeGen *g, ImportTableEntry *import, BlockContext *context, @@ -6238,6 +6239,7 @@ static uint32_t hash_const_val(TypeTableEntry *type, ConstExprValue *const_val) case TypeTableEntryIdUnreachable: zig_unreachable(); } + zig_unreachable(); } uint32_t generic_fn_type_id_hash(GenericFnTypeId *id) { -- cgit v1.2.3