Fix for build (#2082)

This commit is contained in:
Simone Raimondi
2025-04-16 17:45:39 +02:00
committed by GitHub
parent debbae594c
commit f9e62b80ea

View File

@@ -2607,8 +2607,8 @@ static inline bool sema_analyse_ct_foreach_stmt(SemaContext *context, Ast *state
Expr **expressions = NULL;
Type *const_list_type = NULL;
const char *bytes = NULL;
Type *bytes_type;
switch (collection->const_expr.const_kind)
Type *bytes_type = NULL;
switch (collection->const_expr.const_kind)
{
case CONST_FLOAT:
case CONST_INTEGER: