From 57a443a1834d46f8f8d1fdc07e1cef20b2d6a17c Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Tue, 16 Nov 2010 12:38:07 +0000 Subject: [PATCH] STYLE: functionObjectList : indentation --- .../functionObjectList/functionObjectList.C | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C index 2515b0b161e..a4c3225d3ac 100644 --- a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C +++ b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C @@ -198,7 +198,13 @@ bool Foam::functionObjectList::read() } // Update existing and add new functionObjects - const entry* entryPtr = parentDict_.lookupEntryPtr("functions",false,false); + const entry* entryPtr = parentDict_.lookupEntryPtr + ( + "functions", + false, + false + ); + if (entryPtr) { PtrList<functionObject> newPtrs; -- GitLab