diff options
| author | Stefan Boberg <[email protected]> | 2021-09-09 13:13:27 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-09-09 13:13:27 +0200 |
| commit | 9ea46c26939261b4a432efef245e2662dc9f4eb0 (patch) | |
| tree | 8f50142f2d0a379b66ffe9a7e9187102d2cb9207 /zenserver/projectstore.cpp | |
| parent | Restructuring HTTP server implementation to better (completely asynchronously... (diff) | |
| parent | Eliminate compiler default library warning for msvcrt (diff) | |
| download | zen-9ea46c26939261b4a432efef245e2662dc9f4eb0.tar.xz zen-9ea46c26939261b4a432efef245e2662dc9f4eb0.zip | |
Merge branch 'main' into cbpackage-update
Diffstat (limited to 'zenserver/projectstore.cpp')
| -rw-r--r-- | zenserver/projectstore.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/zenserver/projectstore.cpp b/zenserver/projectstore.cpp index 33d008f3e..006796b28 100644 --- a/zenserver/projectstore.cpp +++ b/zenserver/projectstore.cpp @@ -912,8 +912,6 @@ HttpProjectService::HttpProjectService(CasStore& Store, ProjectStore* Projects) return HttpReq.WriteResponse(HttpResponse::NotFound); } - ProjectStore::Oplog& Log = *FoundLog; - // Parse Request IoBuffer Payload = HttpReq.ReadPayload(); @@ -1006,7 +1004,7 @@ HttpProjectService::HttpProjectService(CasStore& Store, ProjectStore* Projects) ResponsePtr += sizeof(ResponseHdr); for (uint32_t ChunkIndex = 0; ChunkIndex < RequestHdr.ChunkCount; ++ChunkIndex) { - const RequestChunkEntry& RequestedChunk = RequestedChunks[ChunkIndex]; + //const RequestChunkEntry& RequestedChunk = RequestedChunks[ChunkIndex]; const IoBuffer& FoundChunk(OutBlobs[ChunkIndex + 1]); ResponseChunkEntry ResponseChunk; ResponseChunk.CorrelationId = ChunkIndex; @@ -1282,8 +1280,6 @@ HttpProjectService::HttpProjectService(CasStore& Store, ProjectStore* Projects) return HttpReq.WriteResponse(HttpResponse::NotFound); } - ProjectStore::Oplog& Log = *FoundLog; - // This operation takes a list of referenced hashes and decides which // chunks are not present on this server. This list is then returned in // the "need" list in the response |