removed unused variables and corrected flaws in error message conversion functions
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-11-07 20:18:06 +09:00
parent 984c1f62a9
commit 38e7d85312
4 changed files with 17 additions and 14 deletions

View File

@ -236,7 +236,7 @@ static int is_in_class_init_scope (hcl_t* hcl)
static int is_in_class_method_scope (hcl_t* hcl)
{
hcl_oow_t i, j;
hcl_oow_t i;
for (i = hcl->c->fnblk.depth + 1; i > 0; )
{
@ -256,7 +256,7 @@ static int is_in_class_method_scope (hcl_t* hcl)
static int find_variable_backward (hcl_t* hcl, const hcl_cnode_t* token, hcl_var_info_t* vi)
{
hcl_oow_t i, j;
hcl_oow_t i;
const hcl_oocs_t* name;
HCL_ASSERT (hcl, hcl->c->fnblk.depth >= 0);