Skip to content

Commit cc3434c

Browse files
remove unused variables
1 parent ecdad54 commit cc3434c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/basic/flow_control.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,8 @@ void for_statement(struct basic_ctx* ctx)
258258
accept_or_return(FOR, ctx);
259259
size_t var_length;
260260
bool is_double = false;
261-
double double_start = 0, double_end = 0, double_step = 1;
262-
int64_t int_start = 0, int_end = 0, int_step = 1;
261+
double double_end = 0.0, double_step = 1.0;
262+
int64_t int_end = 0, int_step = 1;
263263
const char* for_variable = buddy_strdup(ctx->allocator, tokenizer_variable_name(ctx, &var_length));
264264
if (!for_variable) {
265265
tokenizer_error_print(ctx, "FOR: Out of memory");

0 commit comments

Comments
 (0)