diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-28 14:24:33 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-28 14:24:33 -0400 |
| commit | 670184a02e044b3ad398d15c77256990971ab402 (patch) | |
| tree | a4d15e50a41a870d9df6e87dc637fddc8f0f6cb0 /src | |
| parent | faad7fc97d06be3197733648c6b5a4871c923cba (diff) | |
Remove dead code
Diffstat (limited to 'src')
| -rw-r--r-- | src/repl.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -232,9 +232,6 @@ void run(env_t *env, ast_t *ast) } case Assign: { auto assign = Match(ast, Assign); - int64_t n = 0; - for (ast_list_t *t = assign->targets; t; t = t->next) - ++n; for (ast_list_t *val = assign->values, *target = assign->targets; val && target; val = val->next, target = target->next) { type_t *t_target = get_type(env, target->ast); type_t *t_val = get_type(env, val->ast); |
