From 47ff9ae1e69bdb79594ef9c41b2ac343de7182f0 Mon Sep 17 00:00:00 2001 From: scbedd <45376673+scbedd@users.noreply.github.com> Date: Fri, 24 Feb 2023 10:03:08 -0800 Subject: [PATCH] we never use byteCountSent, so removing the addition operation --- tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs b/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs index 6b4c5101ec6..eb2871238d8 100644 --- a/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs +++ b/tools/test-proxy/Azure.Sdk.Tools.TestProxy/RecordingHandler.cs @@ -515,7 +515,6 @@ public async Task WriteBodyBytes(byte[] bodyData, int playbackResponseTime, Http { var chunk = chunks[i]; - byteCountSent+= chunk.Length; await outgoingResponse.Body.WriteAsync(chunk).ConfigureAwait(false); if (i != chunks.Length - 1)