Skip to content

Commit ef1bb2a

Browse files
[mlir][SparseTensor] Fix unused variable error (#140428)
1 parent 1bc0043 commit ef1bb2a

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)