From 937695bfdc76a7c0c8b828c26121e7dd0c641acf Mon Sep 17 00:00:00 2001 From: chriseth Date: Fri, 21 Apr 2017 15:04:03 +0200 Subject: Change error message. --- libsolidity/analysis/StaticAnalyzer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libsolidity/analysis') 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; } -- cgit