fixed: quell compiler warning emitted if compiling without petsc

git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1352 e10b68d5-8a6e-419e-a041-bce267b0401d
This commit is contained in:
akva 2011-12-19 15:52:31 +00:00 committed by Knut Morten Okstad
parent 6206f0cea6
commit ad5aee09e6

View File

@ -149,11 +149,15 @@ bool LinSolParams::read (std::istream& is, int nparam)
return true;
}
#ifdef HAS_PETSC
static bool IsOK(const TiXmlElement* child, const char* value)
{
return !strcasecmp(child->Value(),value) &&
child->FirstChild() && child->FirstChild()->Value();
}
#endif
bool LinSolParams::read (const TiXmlElement* elem)
{