From 7265eeb8c7ca57dae4688f431547f68b563b9926 Mon Sep 17 00:00:00 2001 From: Martin Ridgers Date: Fri, 29 Oct 2021 15:45:28 +0200 Subject: Marked DataHash as unused --- zenserver/compute/apply.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'zenserver/compute/apply.cpp') diff --git a/zenserver/compute/apply.cpp b/zenserver/compute/apply.cpp index 1d5de8d27..8ef520352 100644 --- a/zenserver/compute/apply.cpp +++ b/zenserver/compute/apply.cpp @@ -442,6 +442,8 @@ HttpFunctionService::HttpFunctionService(CasStore& Store, CidStore& InCidStore, SharedBuffer Decompressed = DataView.Decompress(); const uint64_t DecompressedSize = DataView.GetRawSize(); + ZEN_UNUSED(DataHash); + TotalAttachmentBytes += DecompressedSize; ++AttachmentCount; @@ -588,6 +590,8 @@ HttpFunctionService::HttpFunctionService(CasStore& Store, CidStore& InCidStore, const IoHash DataHash = Attachment.GetHash(); CompressedBuffer DataView = Attachment.AsCompressedBinary(); + ZEN_UNUSED(DataHash); + const uint64_t CompressedSize = DataView.GetCompressedSize(); TotalAttachmentBytes += CompressedSize; -- cgit v1.2.3