Skip to content

Commit

Permalink
fixup: init variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneo committed Nov 12, 2024
1 parent 966597d commit 0d26f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/lib/event_engine/posix_engine/posix_endpoint.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0d26f08

Please sign in to comment.