mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-06 14:48:21 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user