From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 86A2E1F723 for ; Wed, 25 Oct 2023 00:29:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1698193790; bh=qw0gnb74tTRxG4eupl9bkSst/XM8BGyIKXL/8HDXRj8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Ognus18g59BOC+gQswRYE7765SlVo9SV1bNmTUZ9qbg0XELxQVCZMi6HBvAnl4ZOG EmwklygjDvpZERJnPyOjw6GXhoNDx/otA0smy5tH1EeL4JfDgQMD5yL4rOt7qqoMNO gp9SLCTppnSqcTL065EH7LasZolS7+hVhc/UYEXo= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 06/26] qspawn: drop unused err arg for ->event_step Date: Wed, 25 Oct 2023 00:29:29 +0000 Message-ID: <20231025002949.3092193-7-e@80x24.org> In-Reply-To: <20231025002949.3092193-1-e@80x24.org> References: <20231025002949.3092193-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: It's no longer needed since psgi_qx doesn't use a pipe, anymore. --- lib/PublicInbox/Qspawn.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/PublicInbox/Qspawn.pm b/lib/PublicInbox/Qspawn.pm index 0f900691..9a7e8734 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)