Skip to content

Commit 2234096

Browse files
authored
Fix unused variable warning introduced by #446 (#453)
Suppress warning by casting to void. Signed-off-by: Aiden Woodruff <[email protected]>
1 parent f87525c commit 2234096

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ma/maSnap.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,8 @@ static void interpolateParametricCoordinatesOnRegularFace(
509509
bool isPeriodic = m->getPeriodicRange(g,d,range);
510510
p[d] = interpolateParametricCoordinate(t,a[d],b[d],range,isPeriodic, 1);
511511
}
512+
#else
513+
(void) gface_isPeriodic;
512514
#endif
513515
}
514516

0 commit comments

Comments
 (0)