From 7ded95c776717cf96e96dffb7425c86b47ad8b0e Mon Sep 17 00:00:00 2001 From: Christian Date: Fri, 23 Jan 2015 02:35:27 +0100 Subject: Compilation of function modifiers. --- NameAndTypeResolver.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'NameAndTypeResolver.cpp') diff --git a/NameAndTypeResolver.cpp b/NameAndTypeResolver.cpp index ea3b43c2..4ca48165 100644 --- a/NameAndTypeResolver.cpp +++ b/NameAndTypeResolver.cpp @@ -310,8 +310,7 @@ void ReferencesResolver::endVisit(VariableDeclaration& _variable) bool ReferencesResolver::visit(Return& _return) { - solAssert(m_returnParameters, "Return parameters not set."); - _return.setFunctionReturnParameters(*m_returnParameters); + _return.setFunctionReturnParameters(m_returnParameters); return true; } -- cgit