From 06dc1d41c0e4a91c5204c2764f5191195e7520fe Mon Sep 17 00:00:00 2001 From: Aaron Ucko Date: Tue, 20 Jan 2026 13:02:34 -0500 Subject: [PATCH] sparse_vector::set_value_no_null: Drop unused blk variable ... by commenting it out rather than fully removing it, since it'll presumably need eventual reinstatement for "TODO: more efficient set/clear on the block." --- src/bmsparsevec.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bmsparsevec.h b/src/bmsparsevec.h index 8aaf8ca9..a6152c35 100644 --- a/src/bmsparsevec.h +++ b/src/bmsparsevec.h @@ -2034,7 +2034,8 @@ void sparse_vector::set_value_no_null(size_type idx, unsigned i0, j0; bm::get_block_coord(nb, i0, j0); - if (const bm::word_t* blk = this->bmatr_.get_block(j, i0, j0)) + if (/* const bm::word_t* blk = */ + this->bmatr_.get_block(j, i0, j0)) { // TODO: more efficient set/clear on the block bvector_type* bv = this->bmatr_.get_row(j);