Skip to content

Commit 59a36a1

Browse files
committed
Fix warning.
1 parent 6c37632 commit 59a36a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Lower/IterationSpace.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ class IsEqualEvaluateExpr {
464464
return isEqual(*xs, *ys);
465465
return false;
466466
}
467-
if (const auto *ys = y.GetAssumedTypeDummy())
467+
if ([[maybe_unused]] const auto *ys = y.GetAssumedTypeDummy())
468468
return false;
469469
return isEqual(*x.UnwrapExpr(), *y.UnwrapExpr());
470470
}

0 commit comments

Comments
 (0)