diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-08-29 21:58:41 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-29 21:58:41 +0900 |
| commit | 3244eb68cb12aacb5f262223d2c7b01e5f638e59 (patch) | |
| tree | 2e484eb8473a68a303f9803f0f335f1c348c0d51 /src/parse.c | |
| parent | b678465c11517a5342b1ec5aa4fe21570f13a3ed (diff) | |
| download | ducc-3244eb68cb12aacb5f262223d2c7b01e5f638e59.tar.gz ducc-3244eb68cb12aacb5f262223d2c7b01e5f638e59.tar.zst ducc-3244eb68cb12aacb5f262223d2c7b01e5f638e59.zip | |
refactor: remove unused variables
Diffstat (limited to 'src/parse.c')
| -rw-r--r-- | src/parse.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); |
