From 81bdc25aeee36ec26b1817b0583742d36d20c28f Mon Sep 17 00:00:00 2001 From: Colin Gagnaire Date: Wed, 17 Apr 2019 14:17:18 +0200 Subject: [PATCH] remove useless var --- centreon-plugins/centreon/plugins/backend/http/lwp.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/centreon-plugins/centreon/plugins/backend/http/lwp.pm b/centreon-plugins/centreon/plugins/backend/http/lwp.pm index bce6c8760..fc2a4447b 100644 --- a/centreon-plugins/centreon/plugins/backend/http/lwp.pm +++ b/centreon-plugins/centreon/plugins/backend/http/lwp.pm @@ -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+)/); }