mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Change error message.
This commit is contained in:
@@ -60,7 +60,7 @@ void StaticAnalyzer::endVisit(FunctionDefinition const&)
|
||||
bool StaticAnalyzer::visit(ExpressionStatement const& _statement)
|
||||
{
|
||||
if (_statement.expression().annotation().isPure)
|
||||
warning(_statement.location(), "Statement has no effects.");
|
||||
warning(_statement.location(), "Statement has no effect.");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user