Commit 767d35f5 authored by Kilian Lackhove's avatar Kilian Lackhove
Browse files

and if ... else if statement missing an else block

parent 36f671ff
......@@ -188,6 +188,10 @@ void SessionFunction::Evaluate(std::string pFieldName,
EvaluateFld(pFieldName, pArray, pTime, domain);
}
}
else
{
ASSERTL0(false, "unknown eFunctionType");
}
if (m_toCache)
{
......@@ -223,6 +227,10 @@ std::string SessionFunction::Describe(std::string pFieldName, const int domain)
m_session->GetFunctionFilename(m_name, pFieldName, domain);
retVal = "from file " + filename;
}
else
{
ASSERTL0(false, "unknown eFunctionType");
}
return retVal;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment