Skip to content

Commit

Permalink
Fix compiler warning about unused variable
Browse files Browse the repository at this point in the history
Signed-off-by: Greg Sjaardema <[email protected]>
  • Loading branch information
gsjaardema committed Jan 30, 2025
1 parent c376c98 commit d8e4e30
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/seacas/applications/nem_slice/elb_loadbal.C
Original file line number Diff line number Diff line change
@@ -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.
*
Expand Down Expand Up @@ -1538,7 +1538,9 @@ namespace {

/* get the node on this element side (should only be one)*/
std::array<INT, MAX_SIDE_NODES> 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);

Expand Down

0 comments on commit d8e4e30

Please sign in to comment.