From e2cdac590f6642fd4e44cfd99b3ad9ffb22b7aaa Mon Sep 17 00:00:00 2001 From: Andrew Heather Date: Mon, 12 Dec 2016 12:15:40 +0000 Subject: [PATCH] STYLE: removed unused code to avoid compiler warning --- src/fileFormats/vtk/format/foamVtkOutputOptions.C | 7 ++----- src/fileFormats/vtk/format/foamVtkOutputOptions.H | 4 ---- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/fileFormats/vtk/format/foamVtkOutputOptions.C b/src/fileFormats/vtk/format/foamVtkOutputOptions.C index 816cbe90b9..39f11a432e 100644 --- a/src/fileFormats/vtk/format/foamVtkOutputOptions.C +++ b/src/fileFormats/vtk/format/foamVtkOutputOptions.C @@ -39,15 +39,13 @@ License Foam::foamVtkOutputOptions::foamVtkOutputOptions() : type_(ASCII), - style_(NONE), precision_(IOstream::defaultPrecision()) {} // * * * * * * * * * * * * * * * * Selectors * * * * * * * * * * * * * * * * // -Foam::autoPtr -Foam::foamVtkOutputOptions::newFormatter +Foam::autoPtr Foam::foamVtkOutputOptions::newFormatter ( std::ostream& os ) const @@ -188,8 +186,7 @@ void Foam::foamVtkOutputOptions::precision(unsigned val) const } -Foam::Ostream& -Foam::foamVtkOutputOptions::info(Ostream& os) const +Foam::Ostream& Foam::foamVtkOutputOptions::info(Ostream& os) const { os << "type: " << type_; diff --git a/src/fileFormats/vtk/format/foamVtkOutputOptions.H b/src/fileFormats/vtk/format/foamVtkOutputOptions.H index 43a3ee0918..a5f59de514 100644 --- a/src/fileFormats/vtk/format/foamVtkOutputOptions.H +++ b/src/fileFormats/vtk/format/foamVtkOutputOptions.H @@ -73,10 +73,6 @@ class foamVtkOutputOptions //- The output format type unsigned short type_; - //- The output style tuning - unsigned short style_; - - //- ASCII write precision mutable unsigned precision_;