Blob Blame History Raw
From ebb3b4a951ea77725709548895792ea24cd2511a Mon Sep 17 00:00:00 2001
From: "Gabriel.Moreau" <Gabriel.Moreau@univ-grenoble-alpes.fr>
Date: Tue, 21 May 2019 15:59:45 +0200
Subject: [PATCH] Suppress unused line 52 $self->{config}->{user}.",". which
 make a warning when execute

---
 lib/Ocsinventory/Agent/Network.pm | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/Ocsinventory/Agent/Network.pm b/lib/Ocsinventory/Agent/Network.pm
index 1054bcc0..66c3a2e3 100644
--- a/lib/Ocsinventory/Agent/Network.pm
+++ b/lib/Ocsinventory/Agent/Network.pm
@@ -49,7 +49,6 @@ sub new {
     my $version = 'OCS-NG_unified_unix_agent_v';
     $version .= exists ($self->{config}->{VERSION})?$self->{config}->{VERSION}:'';
     $self->{ua}->agent($version);
-    $self->{config}->{user}.",".
     my $password = $self->{config}->{password}."";
     $self->{ua}->credentials(
         $uaserver, # server:port, port is needed