diff options
author | Eric Wong <e@80x24.org> | 2023-01-17 07:19:02 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-01-18 23:25:47 +0000 |
commit | a1ee3e0d84fedc4a2dd4e16e7054ee6fdfbe111a (patch) | |
tree | ea63b2a98faf5ffc287bc9bfbd40191afe373bc7 | |
parent | 9e63b93208e5a893630b270e00eac07f9377776f (diff) | |
download | public-inbox-a1ee3e0d84fedc4a2dd4e16e7054ee6fdfbe111a.tar.gz |
We don't use the assigned variable anywhere, and just access PATH_INFO directly in the subsequent warning message.
-rw-r--r-- | lib/PublicInbox/Qspawn.pm | 1 |
1 files changed, 0 insertions, 1 deletions
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 <<EOM; EOF parsing headers from @$cmd ($self->{psgi_env}->{REQUEST_URI}) EOM |