mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:47:35 +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
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