mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibCpp: Remove redundant comparison to Token::Type::PipePipe
SonarCloud flagged this 'Identical sub-expressions on both sides of operator "||"'. When looking at the git history it looks like it was just a copy / paste mistake that happened when Token::Type::Arrow support was added.
This commit is contained in:
parent
69bc04d870
commit
998234f9e9
Notes:
sideshowbarker
2024-07-18 03:23:16 +09:00
Author: https://github.com/bgianfo
Commit: 998234f9e9
Pull-request: https://github.com/SerenityOS/serenity/pull/10238
1 changed files with 0 additions and 1 deletions
|
@ -397,7 +397,6 @@ bool Parser::match_secondary_expression()
|
|||
|| type == Token::Type::AndAnd
|
||||
|| type == Token::Type::PipePipe
|
||||
|| type == Token::Type::ExclamationMarkEquals
|
||||
|| type == Token::Type::PipePipe
|
||||
|| type == Token::Type::Arrow
|
||||
|| type == Token::Type::LeftParen;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue