Skip to content

Commit 2761c7a

Browse files
authored
Merge pull request #1100 from kiranchandramohan/remove-zero-warning
[NFC] Remove unused variable to fix a warning
2 parents ab26625 + aa63a2b commit 2761c7a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

flang/lib/Lower/ConvertExpr.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3611,7 +3611,6 @@ class ArrayExprLowering {
36113611
auto triples = slOp.triples();
36123612
auto idxTy = builder.getIndexType();
36133613
auto loc = getLoc();
3614-
auto zero = builder.createIntegerConstant(loc, idxTy, 0);
36153614
for (unsigned i = 0, end = triples.size(); i < end; i += 3) {
36163615
if (!mlir::isa_and_nonnull<fir::UndefOp>(
36173616
triples[i + 1].getDefiningOp())) {

0 commit comments

Comments
 (0)