From d8e4e301eb638a0c3206a94f1fffe9778b82426e Mon Sep 17 00:00:00 2001 From: Greg Sjaardema Date: Thu, 30 Jan 2025 10:33:45 -0700 Subject: [PATCH] Fix compiler warning about unused variable Signed-off-by: Greg Sjaardema --- packages/seacas/applications/nem_slice/elb_loadbal.C | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/seacas/applications/nem_slice/elb_loadbal.C b/packages/seacas/applications/nem_slice/elb_loadbal.C index 1cf42f6eeb..64886545ec 100644 --- a/packages/seacas/applications/nem_slice/elb_loadbal.C +++ b/packages/seacas/applications/nem_slice/elb_loadbal.C @@ -1,5 +1,5 @@ /* - * Copyright(C) 1999-2021, 2023, 2024 National Technology & Engineering Solutions + * Copyright(C) 1999-2021, 2023, 2024, 2025 National Technology & Engineering Solutions * of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with * NTESS, the U.S. Government retains certain rights in this software. * @@ -1538,7 +1538,9 @@ namespace { /* get the node on this element side (should only be one)*/ std::array side_nodes; +#ifndef NDEBUG int side_cnt = +#endif ss_to_node_list(etype, mesh->connect[ecnt], (nscnt + 1), side_nodes.data()); assert(side_cnt == 1);