functionObjectList: Filter unnecessary warning from new 'libs' entry

This commit is contained in:
Henry Weller
2016-05-21 23:10:06 +01:00
parent e22c65dd8e
commit 7c6b0e684f

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;
}