diff options
author | chriseth <chris@ethereum.org> | 2017-04-21 21:04:03 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-04-21 21:04:03 +0800 |
commit | 937695bfdc76a7c0c8b828c26121e7dd0c641acf (patch) | |
tree | ba9c11259be1eb366cba7ff0baa62265d8529e55 /libsolidity/analysis/StaticAnalyzer.cpp | |
parent | 9bc9fe6af7241479fe3099eae235452b054a6f11 (diff) | |
download | dexon-solidity-937695bfdc76a7c0c8b828c26121e7dd0c641acf.tar.gz dexon-solidity-937695bfdc76a7c0c8b828c26121e7dd0c641acf.tar.zst dexon-solidity-937695bfdc76a7c0c8b828c26121e7dd0c641acf.zip |
Change error message.
Diffstat (limited to 'libsolidity/analysis/StaticAnalyzer.cpp')
-rw-r--r-- | libsolidity/analysis/StaticAnalyzer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/analysis/StaticAnalyzer.cpp b/libsolidity/analysis/StaticAnalyzer.cpp index df7f6e88..190d2420 100644 --- a/libsolidity/analysis/StaticAnalyzer.cpp +++ b/libsolidity/analysis/StaticAnalyzer.cpp @@ -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; } |