From b31a22359b1dafba877f8311f73e51216450209d Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Thu, 9 Sep 2021 11:24:01 +0200 Subject: Fixed a number of unreferenced variable warnings --- zenserver/projectstore.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'zenserver/projectstore.cpp') 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 -- cgit v1.2.3