Skip to content

Commit 7db7bb7

Browse files
Automerge: [mlir][SparseTensor] Fix unused variable error (#140428)
2 parents 9730411 + ef1bb2a commit 7db7bb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorDescriptor.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ convertSparseTensorType(RankedTensorType rtp, SmallVectorImpl<Type> &fields) {
3939
return std::nullopt;
4040

4141
unsigned numFields = fields.size();
42+
(void)numFields;
4243
foreachFieldAndTypeInSparseTensor(
4344
stt,
4445
[&](Type fieldType, FieldIndex fieldIdx,

0 commit comments

Comments
 (0)