Skip to content
Snippets Groups Projects
Commit d8855f21 authored by Julian Marcon's avatar Julian Marcon
Browse files

Added check for null pointer in parameter string

parent 2c38d5c2
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment