You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2020/04/06 18:31:24 UTC

[trafficserver] 22/25: Remove update to unused variable

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 8.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 7b59b7dec8be0d8a140c0569ec1681a9769a503e
Author: Susan Hinrichs <sh...@verizonmedia.com>
AuthorDate: Mon Mar 2 21:24:21 2020 +0000

    Remove update to unused variable
    
    (cherry picked from commit deea85a25793bcab3a2428b9d7f0993248121c1c)
---
 proxy/http2/Http2ConnectionState.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/proxy/http2/Http2ConnectionState.cc b/proxy/http2/Http2ConnectionState.cc
index fa5437d..1a3872f 100644
--- a/proxy/http2/Http2ConnectionState.cc
+++ b/proxy/http2/Http2ConnectionState.cc
@@ -191,7 +191,6 @@ rcv_data_frame(Http2ConnectionState &cstate, const Http2Frame &frame)
       myreader->writer()->dealloc_reader(myreader);
       return Http2Error(Http2ErrorClass::HTTP2_ERROR_CLASS_STREAM, Http2ErrorCode::HTTP2_ERROR_INTERNAL_ERROR);
     }
-    nbytes += num_written;
     myreader->consume(num_written);
   }
   myreader->writer()->dealloc_reader(myreader);