aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcache.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-12-15 11:01:13 +0100
committerMartin Ridgers <[email protected]>2021-12-15 11:01:13 +0100
commitdb1374f8a2756afd6f413989989c1c0d74c671db (patch)
treee7acccfec5ce5b9adfd3ba1735bc62345c18b1da /zenserver/cache/structuredcache.cpp
parentPaths are not wide-chars on non-Windows platforms (diff)
downloadzen-db1374f8a2756afd6f413989989c1c0d74c671db.tar.xz
zen-db1374f8a2756afd6f413989989c1c0d74c671db.zip
Commented out unused local variables
Diffstat (limited to 'zenserver/cache/structuredcache.cpp')
-rw-r--r--zenserver/cache/structuredcache.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/zenserver/cache/structuredcache.cpp b/zenserver/cache/structuredcache.cpp
index b322a5d1b..ebf6298a4 100644
--- a/zenserver/cache/structuredcache.cpp
+++ b/zenserver/cache/structuredcache.cpp
@@ -616,7 +616,7 @@ HttpStructuredCacheService::HandleGetCachePayload(zen::HttpServerRequest& Reques
{
if (CompressedBuffer Compressed = CompressedBuffer::FromCompressed(SharedBuffer(UpstreamResult.Value)))
{
- CidStore::InsertResult Result = m_CidStore.AddChunk(Compressed);
+ /*CidStore::InsertResult Result =*/ m_CidStore.AddChunk(Compressed);
InUpstreamCache = true;
}
else
@@ -672,7 +672,7 @@ HttpStructuredCacheService::HandlePutCachePayload(zen::HttpServerRequest& Reques
Body.SetContentType(Request.RequestContentType());
- IoHash ChunkHash = IoHash::HashBuffer(Body);
+ /*IoHash ChunkHash =*/ IoHash::HashBuffer(Body);
CompressedBuffer Compressed = CompressedBuffer::FromCompressed(SharedBuffer(Body));
if (!Compressed)