Drop pointless code

Modifies a local variable after it was stored in an out parameter, so
this modification has no effect.
This commit is contained in:
Krzesimir Nowak
2026-02-24 16:39:16 +01:00
parent 38c61e06be
commit 4ab536a85a

View File

@@ -1434,9 +1434,6 @@ gb_internal Token consume_comment(AstFile *f, isize *end_line_) {
if (end_line_) *end_line_ = end_line;
next_token0(f);
if (f->curr_token.pos.line > tok.pos.line || tok.kind == Token_EOF) {
end_line++;
}
return tok;
}