Skip to content

Commit 42dd756

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

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
@@ -508,6 +508,8 @@ static void interpolateParametricCoordinatesOnRegularFace(
508508
bool isPeriodic = m->getPeriodicRange(g,d,range);
509509
p[d] = interpolateParametricCoordinate(t,a[d],b[d],range,isPeriodic, 1);
510510
}
511+
#else
512+
(void) gface_isPeriodic;
511513
#endif
512514
}
513515

0 commit comments

Comments
 (0)