aboutsummaryrefslogtreecommitdiff
path: root/zenserver/projectstore.cpp
diff options
context:
space:
mode:
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