aboutsummaryrefslogtreecommitdiff
path: root/zenserver/projectstore.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-09 13:13:27 +0200
committerStefan Boberg <[email protected]>2021-09-09 13:13:27 +0200
commit9ea46c26939261b4a432efef245e2662dc9f4eb0 (patch)
tree8f50142f2d0a379b66ffe9a7e9187102d2cb9207 /zenserver/projectstore.cpp
parentRestructuring HTTP server implementation to better (completely asynchronously... (diff)
parentEliminate compiler default library warning for msvcrt (diff)
downloadzen-9ea46c26939261b4a432efef245e2662dc9f4eb0.tar.xz
zen-9ea46c26939261b4a432efef245e2662dc9f4eb0.zip
Merge branch 'main' into cbpackage-update
Diffstat (limited to 'zenserver/projectstore.cpp')
-rw-r--r--zenserver/projectstore.cpp6
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