This is an automated email from the ASF dual-hosted git repository.
dmeden pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 2d36b804d4 Fix compiler warning. (#11329)
2d36b804d4 is described below
commit 2d36b804d4ccdc9e62f3472495c22f572898a416
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;
^~~~~~~~~
---
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);