From eacee5b25c1edbcf3e32128bd28bce5e58fc2a74 Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 29 Aug 2017 16:29:28 +0200 Subject: Remove previous warning about pureness not being enforced. --- libsolidity/analysis/StaticAnalyzer.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/libsolidity/analysis/StaticAnalyzer.cpp b/libsolidity/analysis/StaticAnalyzer.cpp index 2f130414..ab1cbb52 100644 --- a/libsolidity/analysis/StaticAnalyzer.cpp +++ b/libsolidity/analysis/StaticAnalyzer.cpp @@ -57,8 +57,6 @@ bool StaticAnalyzer::visit(FunctionDefinition const& _function) solAssert(m_localVarUseCount.empty(), ""); m_nonPayablePublic = _function.isPublic() && !_function.isPayable(); m_constructor = _function.isConstructor(); - if (_function.stateMutability() == StateMutability::Pure) - m_errorReporter.warning(_function.location(), "Function is marked pure. Be careful, pureness is not enforced yet."); return true; } -- cgit v1.2.3