STYLE: remove unused variable (vtm writer)

This commit is contained in:
Mark Olesen
2018-12-11 16:40:14 +01:00
parent 98158f5409
commit 08b70bb222
2 changed files with 1 additions and 14 deletions

View File

@ -314,20 +314,13 @@ void Foam::vtk::vtmWriter::dump(Ostream& os) const
Foam::vtk::vtmWriter::vtmWriter()
:
vtmWriter(true, false)
vtmWriter(true)
{}
Foam::vtk::vtmWriter::vtmWriter(bool autoName)
:
vtmWriter(autoName, false)
{}
Foam::vtk::vtmWriter::vtmWriter(bool autoName, bool autoCollapse)
:
autoName_(autoName),
autoCollapse_(autoCollapse),
hasTime_(false),
entries_(),
blocks_(),

View File

@ -176,9 +176,6 @@ class vtmWriter
//- Auto-generate names from 'file' entry?
bool autoName_;
//- Collapse empty blocks and combine block/dataset etc.
bool autoCollapse_;
//- Has a TimeValue for FieldData?
bool hasTime_;
@ -214,9 +211,6 @@ public:
//- Construct with specified behaviour for autoName
explicit vtmWriter(bool autoName);
//- Construct with specified behaviour for autoName, autoCollapse
vtmWriter(bool autoName, bool autoCollapse);
//- Destructor
~vtmWriter() = default;