From 3244eb68cb12aacb5f262223d2c7b01e5f638e59 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 29 Aug 2025 21:58:41 +0900 Subject: refactor: remove unused variables --- src/parse.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/parse.c') diff --git a/src/parse.c b/src/parse.c index ee194ae..381d7e1 100644 --- a/src/parse.c +++ b/src/parse.c @@ -476,7 +476,6 @@ static AstNode* create_new_postfix_inc_or_dec(Parser* p, AstNode* e, TokenKind o static AstNode* parse_postfix_expr(Parser* p) { AstNode* ret = parse_primary_expr(p); while (1) { - TokenKind tk = peek_token(p)->kind; if (consume_token_if(p, TokenKind_paren_l)) { AstNode* args = parse_arg_list(p); expect(p, TokenKind_paren_r); @@ -842,7 +841,6 @@ static AstNode* parse_assignment_expr(Parser* p) { static AstNode* parse_comma_expr(Parser* p) { AstNode* lhs = parse_assignment_expr(p); while (1) { - TokenKind op = peek_token(p)->kind; if (consume_token_if(p, TokenKind_comma)) { AstNode* rhs = parse_assignment_expr(p); AstNode* list = ast_new_list(2); -- cgit v1.2.3-70-g09d2