Skip to content

Commit

Permalink
IOSS: initialize variable to default
Browse files Browse the repository at this point in the history
  • Loading branch information
gsjaardema committed Nov 16, 2023
1 parent 8a2d425 commit 72ce97a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/seacas/libraries/ioss/src/Ioss_DatabaseIO.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ namespace Ioss {
DatabaseIO() = delete;
DatabaseIO(const DatabaseIO &) = delete;
DatabaseIO &operator=(const DatabaseIO &) = delete;
virtual ~DatabaseIO();

/** \brief Check to see if database state is OK.
*
Expand Down Expand Up @@ -119,8 +120,6 @@ namespace Ioss {
*/
virtual bool node_major() const { return true; }

virtual ~DatabaseIO();

// Eliminate as much memory as possible, but still retain meta data information
// Typically, eliminate the maps...
void release_memory()
Expand Down Expand Up @@ -898,7 +897,7 @@ namespace Ioss {
bool fieldSeparatorSpecified{false};
bool enableFieldRecognition{true};
bool fieldStripTrailing_{false};
bool isInput;
bool isInput{true}; // No good default...
bool isParallelConsistent{
true}; // True if application will make field data get/put calls parallel
// consistently.
Expand Down

0 comments on commit 72ce97a

Please sign in to comment.