mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Remove previous warning about pureness not being enforced.
This commit is contained in:
		
							parent
							
								
									50047bf82c
								
							
						
					
					
						commit
						eacee5b25c
					
				| @ -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; | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user