From: Eric Wong Date: Wed, 25 Oct 2023 00:29:29 +0000 (+0000) Subject: qspawn: drop unused err arg for ->event_step X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=947853b0b05f08c5678fb9d9c2e8521b7be9281a;p=thirdparty%2Fpublic-inbox.git qspawn: drop unused err arg for ->event_step It's no longer needed since psgi_qx doesn't use a pipe, anymore. --- diff --git a/lib/PublicInbox/Qspawn.pm b/lib/PublicInbox/Qspawn.pm index 0f9006918..9a7e8734f 100644 --- a/lib/PublicInbox/Qspawn.pm +++ b/lib/PublicInbox/Qspawn.pm @@ -163,8 +163,7 @@ sub psgi_qx { # via PublicInbox::DS event loop OR via GetlineBody for generic # PSGI servers. sub event_step { - my ($self, $err) = @_; # $err: $! - warn "psgi_{return,qx} $err" if defined($err); + my ($self) = @_; finish($self); my $fh = delete $self->{qfh}; $fh->close if $fh; # async-only (psgi_return)