aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2025-03-12 12:28:18 +0100
committerStefan Boberg <[email protected]>2025-03-12 12:28:18 +0100
commit21111c807b46e3d52537c92b26ab40ff5f04ae15 (patch)
tree4f7109e7928b938d4ce8c6776bedcc26c99c6f06 /src/zenutil/include
parentRemove spurious '4' in conditional code block (diff)
parent5.6.1-pre0 (diff)
downloadzen-21111c807b46e3d52537c92b26ab40ff5f04ae15.tar.xz
zen-21111c807b46e3d52537c92b26ab40ff5f04ae15.zip
Merge remote-tracking branch 'origin/main' into sb/build-cache
Diffstat (limited to 'src/zenutil/include')
-rw-r--r--src/zenutil/include/zenutil/chunkedcontent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zenutil/include/zenutil/chunkedcontent.h b/src/zenutil/include/zenutil/chunkedcontent.h
index 4fac6d0f3..002af1f75 100644
--- a/src/zenutil/include/zenutil/chunkedcontent.h
+++ b/src/zenutil/include/zenutil/chunkedcontent.h
@@ -124,8 +124,8 @@ struct ChunkedContentLookup
{
struct ChunkSequenceLocation
{
- uint32_t SequenceIndex;
- uint64_t Offset;
+ uint32_t SequenceIndex = (uint32_t)-1;
+ uint64_t Offset = (uint64_t)-1;
};
tsl::robin_map<IoHash, uint32_t, IoHash::Hasher> ChunkHashToChunkIndex;
tsl::robin_map<IoHash, uint32_t, IoHash::Hasher> RawHashToSequenceIndex;