Skip to content

Commit

Permalink
Fix unused variable warning introduced by #446 (#453)
Browse files Browse the repository at this point in the history
Suppress warning by casting to void.

Signed-off-by: Aiden Woodruff <[email protected]>
  • Loading branch information
bobpaw authored Nov 4, 2024
1 parent f87525c commit 2234096
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ma/maSnap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,8 @@ static void interpolateParametricCoordinatesOnRegularFace(
bool isPeriodic = m->getPeriodicRange(g,d,range);
p[d] = interpolateParametricCoordinate(t,a[d],b[d],range,isPeriodic, 1);
}
#else
(void) gface_isPeriodic;
#endif
}

Expand Down

0 comments on commit 2234096

Please sign in to comment.