remove useless var

This commit is contained in:
Colin Gagnaire 2019-04-17 14:17:18 +02:00
parent 1df6a5372c
commit 95a4b14ec1
1 changed files with 0 additions and 1 deletions

View File

@ -241,7 +241,6 @@ sub request {
if (!$self->{output}->is_status(value => $status, compare => 'ok', litteral => 1)) {
my $short_msg = $self->{response}->status_line;
if ($short_msg =~ /^401/) {
my $authenticate = '';
$short_msg .= ' (' . $1 . ' authentication expected)' if (defined($self->{response}->www_authenticate) &&
$self->{response}->www_authenticate =~ /(\S+)/);
}