Commit d8855f21 authored by Julian Marcon's avatar Julian Marcon

Added check for null pointer in parameter string

parent 2c38d5c2
......@@ -161,7 +161,10 @@ namespace Nektar
// Find parameters tag.
tmp = testElement->FirstChildElement("parameters");
ASSERTL0(tmp, "Cannot find 'parameters' for test.");
m_parameters = string(tmp->GetText());
if (tmp->GetText())
m_parameters = string(tmp->GetText());
// Find parallel processes tah.
tmp = testElement->FirstChildElement("processes");
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