findLabelInLine(lineString, "type"); // discard the returned string
}
- if (!line || strncmp(line, "static", 6) != 0)
+ if (!line_buf || strncmp(line_buf, "static", 6) != 0)
{
gmx_input("Invalid XPixMap");
}
line = line_buf;
}
bSetLine = TRUE;
+ GMX_RELEASE_ASSERT(line, "Need to have valid line to parse");
if (strstr(line, "x-axis"))
{
line = std::strstr(line, "x-axis");