diff options
author | Dominique Dumont <dod@debian.org> | 2021-06-04 18:50:07 +0200 |
---|---|---|
committer | Dominique Dumont <dod@debian.org> | 2021-06-04 18:50:07 +0200 |
commit | 36aadb7477484535f6e72080e59342df12020f8f (patch) | |
tree | 8369335acd603c24171f912c97c227b55501ef02 | |
parent | 3c2c664da7de616a9f85aa5d4f9948f0367d4ca3 (diff) |
allow no warnings
-rw-r--r-- | lib/Config/Model/Dpkg/Dependency.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Config/Model/Dpkg/Dependency.pm b/lib/Config/Model/Dpkg/Dependency.pm index a2b2ce35..2f1b14c7 100644 --- a/lib/Config/Model/Dpkg/Dependency.pm +++ b/lib/Config/Model/Dpkg/Dependency.pm @@ -395,12 +395,12 @@ sub check_dependency ($self, %args){ if ( $logger->is_debug ) { my $new_str = $new // '<undef>'; - no warnings 'uninitialized'; + no warnings 'uninitialized'; ## no critic (ProhibitNoWarnings) $logger->debug( "'$old' done" . ( $apply_fix ? " changed to '$new_str'" : '' ) ); } { - no warnings 'uninitialized'; + no warnings 'uninitialized'; ## no critic (ProhibitNoWarnings) my $msg = join('; ', @msgs); $self->_store_fix( $old, $new, $msg ) if $apply_fix and @msgs and $new ne $old; } |