aboutsummaryrefslogtreecommitdiff
path: root/src/analyze.cpp
diff options
context:
space:
mode:
authorJosh Wolfe <thejoshwolfe@gmail.com>2016-04-07 18:02:30 -0700
committerJosh Wolfe <thejoshwolfe@gmail.com>2016-04-07 18:02:30 -0700
commitf6edba4a872e2c5781bb6cb05f66a57e16455f15 (patch)
tree0523f868f948448be12432a77dd675480ed530ba /src/analyze.cpp
parent28ad4e6d83e307b814d76f53795fa5ff61bbdb2f (diff)
downloadzig-f6edba4a872e2c5781bb6cb05f66a57e16455f15.tar.gz
zig-f6edba4a872e2c5781bb6cb05f66a57e16455f15.zip
fix gcc compile errors
Diffstat (limited to 'src/analyze.cpp')
-rw-r--r--src/analyze.cpp2
1 files changed, 2 insertions, 0 deletions
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) {