From b66106595aedb90da049ab1a76ad8a6882d6211d Mon Sep 17 00:00:00 2001 From: Masaori Koshiba Date: Tue, 2 Mar 2021 09:59:08 +0900 Subject: [PATCH] Cleanup: Remove unused member of Http2ClientSession --- proxy/http2/Http2ClientSession.cc | 1 - proxy/http2/Http2ClientSession.h | 1 - 2 files changed, 2 deletions(-) diff --git a/proxy/http2/Http2ClientSession.cc b/proxy/http2/Http2ClientSession.cc index 0ab4d9fd362..ce512582de6 100644 --- a/proxy/http2/Http2ClientSession.cc +++ b/proxy/http2/Http2ClientSession.cc @@ -288,7 +288,6 @@ void Http2ClientSession::flush() { if (this->_pending_sending_data_size > 0) { - total_write_len += this->_pending_sending_data_size; this->_pending_sending_data_size = 0; this->_write_buffer_last_flush = Thread::get_hrtime(); write_reenable(); diff --git a/proxy/http2/Http2ClientSession.h b/proxy/http2/Http2ClientSession.h index 5e2b00db78e..782854ba092 100644 --- a/proxy/http2/Http2ClientSession.h +++ b/proxy/http2/Http2ClientSession.h @@ -136,7 +136,6 @@ class Http2ClientSession : public ProxySession bool _should_do_something_else(); - int64_t total_write_len = 0; SessionHandler session_handler = nullptr; MIOBuffer *read_buffer = nullptr; IOBufferReader *_reader = nullptr;