mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
LibJS/Parser: Remove superfluous switch case
This commit is contained in:
parent
b5a22fc408
commit
0659d07241
1 changed files with 0 additions and 3 deletions
|
@ -425,9 +425,6 @@ NonnullOwnPtr<ForStatement> Parser::parse_for_statement()
|
|||
|
||||
OwnPtr<Statement> init = nullptr;
|
||||
switch (m_current_token.type()) {
|
||||
case TokenType::Var:
|
||||
init = parse_variable_declaration();
|
||||
break;
|
||||
case TokenType::Semicolon:
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue