From 3adf0f5c8e3eebe5798d30e7b45ef29908eb6e6f Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Fri, 16 Jan 2009 12:27:03 +0100 Subject: [PATCH] minor cleanup for reverted string changes (commit 4f5f66e7594d) - put back debug switch (even although it is never used) - remove stringsGlobals.C, since it is now never used --- etc/controlDict | 1 + .../primitives/strings/stringsGlobals.C | 41 ------------------- 2 files changed, 1 insertion(+), 41 deletions(-) delete mode 100644 src/OpenFOAM/primitives/strings/stringsGlobals.C diff --git a/etc/controlDict b/etc/controlDict index d1a95604ef..b58b605b3c 100644 --- a/etc/controlDict +++ b/etc/controlDict @@ -687,6 +687,7 @@ DebugSwitches staticFvMesh 0; steadyState 0; stl 0; + string 0; stochasticDispersionRAS 0; supersonicFreestream 0; surfaceFeatures 0; diff --git a/src/OpenFOAM/primitives/strings/stringsGlobals.C b/src/OpenFOAM/primitives/strings/stringsGlobals.C deleted file mode 100644 index 7f4431da7c..0000000000 --- a/src/OpenFOAM/primitives/strings/stringsGlobals.C +++ /dev/null @@ -1,41 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | - \\ / A nd | Copyright (C) 1991-2009 OpenCFD Ltd. - \\/ M anipulation | -------------------------------------------------------------------------------- -License - This file is part of OpenFOAM. - - OpenFOAM is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2 of the License, or (at your - option) any later version. - - OpenFOAM is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License - along with OpenFOAM; if not, write to the Free Software Foundation, - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -Description - Static initializers for - Foam::string::null - Foam::word::null - Foam::fileName::null. - This file is included in global.Cver since these members are required by - debug.C. - -\*---------------------------------------------------------------------------*/ - -#include "string.H" -#include "word.H" -#include "fileName.H" - -// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // - -// ************************************************************************* //