Skip to content

Commit fa9ee4a

Browse files
committed
[NFC][OpenMP] Silent unused variable in kmp_collapse.cpp
1 parent 9961c03 commit fa9ee4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openmp/runtime/src/kmp_collapse.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,8 +1482,8 @@ void kmp_handle_upper_triangle_matrix(
14821482
original_bounds_nest[0].ub0_u64);
14831483
kmp_uint64 outer_lb0 = kmp_fix_iv(original_bounds_nest[0].loop_iv_type,
14841484
original_bounds_nest[0].lb0_u64);
1485-
kmp_uint64 inner_ub0 = kmp_fix_iv(original_bounds_nest[1].loop_iv_type,
1486-
original_bounds_nest[1].ub0_u64);
1485+
[[maybe_unused]] kmp_uint64 inner_ub0 = kmp_fix_iv(
1486+
original_bounds_nest[1].loop_iv_type, original_bounds_nest[1].ub0_u64);
14871487
// calculate the chunk's lower and upper bounds
14881488
// the total number of iterations in the loop is the sum of the arithmetic
14891489
// progression from the outer lower to outer upper bound (inclusive since the

0 commit comments

Comments
 (0)