From a1ee3e0d84fedc4a2dd4e16e7054ee6fdfbe111a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 17 Jan 2023 07:19:02 +0000 Subject: [PATCH] qspawn: drop {psgi_env} deref We don't use the assigned variable anywhere, and just access PATH_INFO directly in the subsequent warning message. --- lib/PublicInbox/Qspawn.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/PublicInbox/Qspawn.pm b/lib/PublicInbox/Qspawn.pm index 0044c1f6..779b703a 100644 --- a/lib/PublicInbox/Qspawn.pm +++ b/lib/PublicInbox/Qspawn.pm @@ -212,7 +212,6 @@ sub rd_hdr ($) { $ret = [ 500, [], [ "Internal error\n" ] ]; } elsif (!defined($ret) && !$r) { my $cmd = $self->{cmd} // [ '(?)' ]; - my $env = $self->{psgi_env}; warn <{psgi_env}->{REQUEST_URI}) EOM -- 2.44.0