diff options
author | Guillem Jover <guillem@debian.org> | 2014-11-22 23:59:39 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2015-01-28 20:50:31 +0100 |
commit | ea1357d0f153c9a0534ea301f7d7ef2262343249 (patch) | |
tree | 319fb341d986c2d7af0d0bb8e764420a7112d60e /scripts/Dpkg/Control/HashCore.pm | |
parent | 609750150cdf265ff8ed7477613ea319399cb0ad (diff) | |
download | dpkg-ea1357d0f153c9a0534ea301f7d7ef2262343249.tar.gz |
Dpkg: Use shift instead of @_ on single argument unpacking
Diffstat (limited to 'scripts/Dpkg/Control/HashCore.pm')
-rw-r--r-- | scripts/Dpkg/Control/HashCore.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Dpkg/Control/HashCore.pm b/scripts/Dpkg/Control/HashCore.pm index d06c18f3b..05aaa55a8 100644 --- a/scripts/Dpkg/Control/HashCore.pm +++ b/scripts/Dpkg/Control/HashCore.pm @@ -133,7 +133,7 @@ sub new { # that everything gets garbage-collected. sub DESTROY { - my ($self) = @_; + my $self = shift; delete $$self->{fields}; } |