Add use of variable.

This commit is contained in:
Christoffer Lerno
2020-05-03 02:12:14 +02:00
parent d8423eff56
commit 333b3df47d

View File

@@ -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;