STYLE: removed unused code to avoid compiler warning

This commit is contained in:
Andrew Heather
2016-12-12 12:15:40 +00:00
parent 164c545b47
commit e2cdac590f
2 changed files with 2 additions and 9 deletions

View File

@ -39,15 +39,13 @@ License
Foam::foamVtkOutputOptions::foamVtkOutputOptions()
:
type_(ASCII),
style_(NONE),
precision_(IOstream::defaultPrecision())
{}
// * * * * * * * * * * * * * * * * Selectors * * * * * * * * * * * * * * * * //
Foam::autoPtr<Foam::foamVtkFormatter>
Foam::foamVtkOutputOptions::newFormatter
Foam::autoPtr<Foam::foamVtkFormatter> 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_;

View File

@ -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_;