mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove dead code
This commit is contained in:
parent
43353bb6ca
commit
e2a756a705
@ -199,21 +199,8 @@ Statement Parser::parseStatement()
|
||||
break;
|
||||
}
|
||||
|
||||
if (holds_alternative<Identifier>(elementary))
|
||||
{
|
||||
Identifier identifier = std::get<Identifier>(move(elementary));
|
||||
return ExpressionStatement{identifier.location, { move(identifier) }};
|
||||
}
|
||||
else if (holds_alternative<Literal>(elementary))
|
||||
{
|
||||
Literal literal = std::get<Literal>(move(elementary));
|
||||
return ExpressionStatement{literal.location, { move(literal) }};
|
||||
}
|
||||
else
|
||||
{
|
||||
yulAssert(false, "Invalid elementary operation.");
|
||||
return {};
|
||||
}
|
||||
yulAssert(false, "");
|
||||
return {};
|
||||
}
|
||||
|
||||
Case Parser::parseCase()
|
||||
|
Loading…
Reference in New Issue
Block a user