Commit f6edba4a87

Josh Wolfe <thejoshwolfe@gmail.com>
2016-04-08 03:02:30
fix gcc compile errors
1 parent 28ad4e6
Changed files (1)
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) {