aboutsummaryrefslogtreecommitdiff
path: root/src/parseh.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-02-09 08:46:55 -0700
committerAndrew Kelley <superjoe30@gmail.com>2016-02-09 08:46:55 -0700
commit1d92700d089eb2e225d1db6de780e4288fa68452 (patch)
tree643871fe14f6391b2989750cd0b9e5a6d1dc3634 /src/parseh.cpp
parente18170ee0bf32996635397e8e919a14a21c88b56 (diff)
downloadzig-1d92700d089eb2e225d1db6de780e4288fa68452.tar.gz
zig-1d92700d089eb2e225d1db6de780e4288fa68452.zip
fix build with GCC
Diffstat (limited to 'src/parseh.cpp')
-rw-r--r--src/parseh.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parseh.cpp b/src/parseh.cpp
index 03cb6fb133..ebe2c2f248 100644
--- a/src/parseh.cpp
+++ b/src/parseh.cpp
@@ -606,6 +606,7 @@ static TypeTableEntry *resolve_type_with_table(Context *c, const Type *ty, const
emit_warning(c, decl, "missed a '%s' type", ty->getTypeClassName());
return c->codegen->builtin_types.entry_invalid;
}
+ zig_unreachable();
}
static TypeTableEntry *resolve_qual_type_with_table(Context *c, QualType qt, const Decl *decl,