mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:17:35 +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;
|
OwnPtr<Statement> init = nullptr;
|
||||||
switch (m_current_token.type()) {
|
switch (m_current_token.type()) {
|
||||||
case TokenType::Var:
|
|
||||||
init = parse_variable_declaration();
|
|
||||||
break;
|
|
||||||
case TokenType::Semicolon:
|
case TokenType::Semicolon:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue