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 committed 2026-03-02 21:24:59 +01:00
1 parent 38c61e06be
commit 4ab536a85a
1 file changed
-3
-3
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;
}