From 0d26f087e02303ce42a18371e9aca06c40b9009c Mon Sep 17 00:00:00 2001 From: Eugene Ostroukhov Date: Tue, 12 Nov 2024 11:02:58 -0800 Subject: [PATCH] fixup: init variable. --- src/core/lib/event_engine/posix_engine/posix_endpoint.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/lib/event_engine/posix_engine/posix_endpoint.cc b/src/core/lib/event_engine/posix_engine/posix_endpoint.cc index dcf7c68441ced..568eabdb02b1a 100644 --- a/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +++ b/src/core/lib/event_engine/posix_engine/posix_endpoint.cc @@ -1239,7 +1239,7 @@ void PosixEndpointImpl::MaybeShutdown( PosixEndpointImpl ::~PosixEndpointImpl() { SystemApi* system_api = handle_->Poller()->GetSystemApi(); - int release_fd; + int release_fd = -1; handle_->OrphanHandle(on_done_, on_release_fd_ == nullptr ? nullptr : &release_fd, ""); if (on_release_fd_ != nullptr) {