From f73a8e6160909f39e6d8ab38cf43db2fb15938c7 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Sat, 21 May 2016 23:10:06 +0100 Subject: [PATCH] functionObjectList: Filter unnecessary warning from new 'libs' entry --- .../functionObjectList/functionObjectList.C | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C index 7d151fa42c..292167048d 100644 --- a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C +++ b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C @@ -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; }