From bf562b1b9a004a63de475e0ae7a9d33e06e69f10 Mon Sep 17 00:00:00 2001 From: Greg Sjaardema Date: Tue, 25 Jan 2022 17:00:20 -0700 Subject: [PATCH] CPUP: Remove yet another shadowed variable --- packages/seacas/applications/cpup/cpup.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/seacas/applications/cpup/cpup.C b/packages/seacas/applications/cpup/cpup.C index a239484e94..a3194d816e 100644 --- a/packages/seacas/applications/cpup/cpup.C +++ b/packages/seacas/applications/cpup/cpup.C @@ -743,8 +743,8 @@ namespace { // Find all corresponding blocks on the input part meshes... for (const auto &part : part_mesh) { - auto &blocks = part->get_structured_blocks(); - for (const auto &pblock : blocks) { + auto &sblocks = part->get_structured_blocks(); + for (const auto &pblock : sblocks) { auto &name = pblock->name(); auto name_proc = Iocgns::Utils::decompose_name(name, true); if (name_proc.first == block->name()) {