From 22340969d1af105b8c2dc5934b2b1222eaf1226c Mon Sep 17 00:00:00 2001 From: Aiden Woodruff Date: Mon, 4 Nov 2024 11:37:44 -0500 Subject: [PATCH] Fix unused variable warning introduced by #446 (#453) Suppress warning by casting to void. Signed-off-by: Aiden Woodruff --- ma/maSnap.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ma/maSnap.cc b/ma/maSnap.cc index d75426e8d..0411cce55 100644 --- a/ma/maSnap.cc +++ b/ma/maSnap.cc @@ -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 }