Skip to content

Commit a8b8484

Browse files
schweitzpgijeanPerier
authored andcommitted
Fix warning.
1 parent 4e70108 commit a8b8484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Lower/IterationSpace.cpp

+1-1
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)