functionObjectList: Filter unnecessary warning from new 'libs' entry

This commit is contained in:
Henry Weller
2016-05-21 23:10:06 +01:00
parent 3eec5854be
commit f73a8e6160

View File

@ -302,8 +302,12 @@ bool Foam::functionObjectList::read()
if (!iter().isDict())
{
IOWarningInFunction(parentDict_)
<< "Entry " << key << " is not a dictionary" << endl;
if (key != "libs")
{
IOWarningInFunction(parentDict_)
<< "Entry " << key << " is not a dictionary" << endl;
}
continue;
}