[mlir] Address compiler warning

This commit is contained in:
Jacques Pienaar 2022-07-19 20:03:03 -07:00
parent bbbb4393ee
commit c35807f271
1 changed files with 1 additions and 0 deletions

View File

@ -914,6 +914,7 @@ public:
: dimSizes(dimSizes), dimTypes(sparsity), nnz(getRank()) {
assert(dimSizes.size() == dimTypes.size() && "Rank mismatch");
bool uncompressed = true;
(void)uncompressed;
uint64_t sz = 1; // the product of all `dimSizes` strictly less than `r`.
for (uint64_t rank = getRank(), r = 0; r < rank; r++) {
switch (dimTypes[r]) {