aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-04-12 15:25:27 +0200
committerDan Engelbrecht <[email protected]>2022-04-12 15:25:27 +0200
commita4b2f38b8a197602d8a32637a4191f5b9d8ee404 (patch)
tree5458f8b62f6d5f424fd6c5c9344696d65e588372
parentFix failing test due to not generating unique test data (diff)
downloadzen-a4b2f38b8a197602d8a32637a4191f5b9d8ee404.tar.xz
zen-a4b2f38b8a197602d8a32637a4191f5b9d8ee404.zip
remove unused variable
-rw-r--r--zenstore/compactcas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenstore/compactcas.cpp b/zenstore/compactcas.cpp
index 1c8e1f875..dcac5f071 100644
--- a/zenstore/compactcas.cpp
+++ b/zenstore/compactcas.cpp
@@ -2354,7 +2354,7 @@ TEST_CASE("compactcas.threadedinsert") // * doctest::skip(true))
for (const auto& Chunk : NewChunks)
{
ThreadPool.ScheduleWork([&Cas, Chunk, &AddedChunkCount]() {
- CasStore::InsertResult InsertResult = Cas.InsertChunk(Chunk.second, Chunk.first);
+ Cas.InsertChunk(Chunk.second, Chunk.first);
AddedChunkCount.fetch_add(1);
});
}