mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Add use of variable.
This commit is contained in:
@@ -1171,6 +1171,10 @@ bool sema_analyse_function_body(Context *context, Decl *func)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!error_was_useful)
|
||||
{
|
||||
// Warning here?
|
||||
}
|
||||
func->func.labels = context->labels;
|
||||
context_pop_scope(context);
|
||||
context->current_scope = NULL;
|
||||
|
||||
Reference in New Issue
Block a user