From 71c41cbd7aeea1b034c128eba5a3e253aa49a0e1 Mon Sep 17 00:00:00 2001 From: Greg Sjaardema Date: Fri, 7 Jul 2023 11:13:56 -0600 Subject: [PATCH] IOSS: Remove unused variables --- packages/seacas/libraries/ioss/src/Ioss_Region.C | 3 +-- .../seacas/libraries/ioss/src/exodus/Ioex_DecompositionData.C | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/seacas/libraries/ioss/src/Ioss_Region.C b/packages/seacas/libraries/ioss/src/Ioss_Region.C index 4ed16a0f6f..36c7efc9ea 100644 --- a/packages/seacas/libraries/ioss/src/Ioss_Region.C +++ b/packages/seacas/libraries/ioss/src/Ioss_Region.C @@ -2823,8 +2823,7 @@ namespace Ioss { { const Ioss::ElementBlockContainer &elem_blocks = get_element_blocks(); - Field::RoleType role = - verify_field_exists_on_any_entity_group(field_name, *this, elem_blocks, "input"); + verify_field_exists_on_any_entity_group(field_name, *this, elem_blocks, "input"); size_t field_count = get_all_block_field_data_count(field_name, elem_blocks); field_data.resize(field_count); diff --git a/packages/seacas/libraries/ioss/src/exodus/Ioex_DecompositionData.C b/packages/seacas/libraries/ioss/src/exodus/Ioex_DecompositionData.C index 0ddd8bc67a..2e04568af5 100644 --- a/packages/seacas/libraries/ioss/src/exodus/Ioex_DecompositionData.C +++ b/packages/seacas/libraries/ioss/src/exodus/Ioex_DecompositionData.C @@ -1028,7 +1028,6 @@ namespace Ioex { } std::vector file_conn_offset = get_all_block_file_offset_impl(block_component_count); - size_t file = Ioss::get_all_block_ioss_element_size(el_blocks); m_decomposition.show_progress("\tex_get_partial_var (elem)");