From 5b0874d437a8a25b067476f2a2bf8f47e17f58df Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Thu, 26 May 2016 11:29:52 +0200 Subject: [PATCH] + Fix problem of redundant warning --- centreon-plugins/centreon/plugins/values.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/centreon-plugins/centreon/plugins/values.pm b/centreon-plugins/centreon/plugins/values.pm index 55c5f9a32..a0bddcd01 100644 --- a/centreon-plugins/centreon/plugins/values.pm +++ b/centreon-plugins/centreon/plugins/values.pm @@ -22,9 +22,9 @@ package centreon::plugins::values; use strict; use warnings; - -# le label de perfdata: on peut le surcharger (au lieu du label) -# le warning/critical: on peut surcharger +# Warning message with sprintf and too much arguments. +# Really annoying. Need to disable that warning +no if ($^V gt v5.22.0), 'warnings' => 'redundant'; sub new { my ($class, %options) = @_;