Commit a098c07aa7

Andrew Kelley <superjoe30@gmail.com>
2016-10-03 20:24:23
fix warning on some compiler versions
closes #202
1 parent 0562111
Changed files (1)
src/parser.cpp
@@ -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;
     }