aboutsummaryrefslogtreecommitdiff
path: root/zenstore/blockstore.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-05-03 22:29:48 +0200
committerDan Engelbrecht <[email protected]>2022-05-03 22:29:48 +0200
commita50fdca477c04c273c5521020c9faf0441cf696f (patch)
tree4738fe303b57d5b6fa3a46f24cda7f53d7c98c47 /zenstore/blockstore.cpp
parentMerge pull request #86 from EpicGames/de/block-store-refactor (diff)
downloadzen-a50fdca477c04c273c5521020c9faf0441cf696f.tar.xz
zen-a50fdca477c04c273c5521020c9faf0441cf696f.zip
unused variable in test fix
Diffstat (limited to 'zenstore/blockstore.cpp')
-rw-r--r--zenstore/blockstore.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/zenstore/blockstore.cpp b/zenstore/blockstore.cpp
index 0992662c2..cb22551b9 100644
--- a/zenstore/blockstore.cpp
+++ b/zenstore/blockstore.cpp
@@ -1172,11 +1172,11 @@ TEST_CASE("blockstore.flush.forces.new.block")
BlockStore Store;
Store.Initialize(RootDirectory / "store", 128, 1024, {});
- std::string FirstChunkData = "This is the data of the first chunk that we will write";
- BlockStoreLocation FirstChunkLocation = WriteStringAsChunk(Store, FirstChunkData, 4);
+ std::string FirstChunkData = "This is the data of the first chunk that we will write";
+ WriteStringAsChunk(Store, FirstChunkData, 4);
Store.Flush();
- std::string SecondChunkData = "This is the data for the second chunk that we will write";
- BlockStoreLocation SecondChunkLocation = WriteStringAsChunk(Store, SecondChunkData, 4);
+ std::string SecondChunkData = "This is the data for the second chunk that we will write";
+ WriteStringAsChunk(Store, SecondChunkData, 4);
Store.Flush();
std::string ThirdChunkData =
"This is a much longer string that will not fit in the first block so it should be placed in the second block";