This is an automated email from the ASF dual-hosted git repository. cmcfarlen pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 8d1bd0a7192bda7ab23e15b10ff94fc7ea7164aa Author: Damian Meden <[email protected]> AuthorDate: Thu May 9 09:31:49 2024 +0200 Fix compiler warning. (#11329) GCC 13.2 was complaining about this. warning: ‘stream_id’ is used uninitialized [-Wuninitialized] QUICConnectionErrorUPtr error = this->_qc->stream_manager()->create_uni_stream(new_stream_id); Http3App.cc: In member function ‘virtual void Http3App::start()’: ttp3App.cc:82:27: note: ‘stream_id’ was declared here QUICStreamId stream_id; ^~~~~~~~~ (cherry picked from commit 2d36b804d4ccdc9e62f3472495c22f572898a416) --- src/proxy/http3/Http3App.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proxy/http3/Http3App.cc b/src/proxy/http3/Http3App.cc index d5d1a2be1f..7226b08d49 100644 --- a/src/proxy/http3/Http3App.cc +++ b/src/proxy/http3/Http3App.cc @@ -79,7 +79,7 @@ Http3App::~Http3App() void Http3App::start() { - QUICStreamId stream_id; + QUICStreamId stream_id{}; QUICConnectionErrorUPtr error; error = this->create_uni_stream(stream_id, Http3StreamType::CONTROL);
