Skip to content

Commit

Permalink
IOSS: Remove commented out code
Browse files Browse the repository at this point in the history
Remove code commented out in last commit.
  • Loading branch information
gsjaardema authored Oct 9, 2024
1 parent 311ad5d commit 0e574e4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/seacas/libraries/ioss/src/exodus/Ioex_BaseDatabaseIO.C
Original file line number Diff line number Diff line change
Expand Up @@ -429,16 +429,6 @@ namespace Ioex {
bool overwrite = true;
handle_output_file(write_message, nullptr, nullptr, overwrite, abort_if_error);
}

#if 0
// I think this is the correct change (deleting this block of code) since `handle_output_file` is returning a
// `m_exodusFilePtr` and sets`m_groupName`, so that is redundant with calling `ex_get_group_id` and even
// worse, `ex_get_group_id` is looking for a child group of itself...
// I'm not sure whether the code in this block is needed for an input file though...
if (!m_groupName.empty()) {
ex_get_group_id(m_exodusFilePtr, m_groupName.c_str(), &m_exodusFilePtr);
}
#endif
}
assert(m_exodusFilePtr >= 0);
fileExists = true;
Expand Down

0 comments on commit 0e574e4

Please sign in to comment.