fix warning on some compiler versions

closes #202
This commit is contained in:
Andrew Kelley 2016-10-03 14:24:23 -04:00
parent 0562111b02
commit a098c07aa7

View File

@ -2008,6 +2008,7 @@ static AstNode *ast_parse_fn_proto(ParseContext *pc, size_t *token_index, bool m
*token_index += 1;
} else if (mandatory) {
ast_expect_token(pc, first_token, TokenIdKeywordFn);
zig_unreachable();
} else {
return nullptr;
}