fix: clear fn return type value

This commit is contained in:
samsonium
2026-10-17 21:24:21 +03:00
parent 8c33464656
commit c0c90f4f1a
2 changed files with 63 additions and 74 deletions
+1 -1
View File
@@ -815,7 +815,7 @@ fzl_node_t *parse_function(fzl_parser_t *parser)
return NULL;
}
fzl_token_t *type;
fzl_token_t *type = NULL;
if (is(parser, FZL_TOKTYPE_TYPE) || is(parser, FZL_TOKTYPE_NAME))
type = consume(parser);