Skip to content

Commit a6f3a74

Browse files
committed
Fix warning.
1 parent 2ca0cdf commit a6f3a74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flang/lib/Lower/ConvertExpr.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3849,7 +3849,8 @@ class ArrayExprLowering {
38493849
auto loopStack = explicitSpace->getLoopStack();
38503850
const auto depth = loopStack.size();
38513851
auto i64Ty = builder.getIntegerType(64);
3852-
auto byteSize = builder.createIntegerConstant(loc, i64Ty, 1);
3852+
[[maybe_unused]] auto byteSize =
3853+
builder.createIntegerConstant(loc, i64Ty, 1);
38533854
auto header = implicitSpace->lookupMaskHeader(expr);
38543855
for (std::remove_const_t<decltype(depth)> i = 0; i < depth; ++i) {
38553856
auto insPt = builder.saveInsertionPoint();

0 commit comments

Comments
 (0)