diff --git a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C index d64e264eda..4326acf5be 100644 --- a/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C +++ b/src/OpenFOAM/db/functionObjects/functionObjectList/functionObjectList.C @@ -73,7 +73,7 @@ Foam::functionObject* Foam::functionObjectList::remove label& oldIndex ) { - functionObject* ptr = 0; + functionObject* ptr = nullptr; // Find index of existing functionObject HashTable