diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-03-18 18:53:30 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-03-18 18:53:30 +0000 |
commit | 08a7747feb51aa087d605d2ee6137343dfa270ce (patch) | |
tree | a0da9ed86cd0554c8ebc6b2a2a162ab68ce10052 /usr.sbin/pkg_add/OpenBSD/AddDelete.pm | |
parent | 3f38936de38607059fe8d34c3a78165f2a64d69d (diff) |
remove $_ usage that warns under perl 5.18
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/AddDelete.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/AddDelete.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/AddDelete.pm b/usr.sbin/pkg_add/OpenBSD/AddDelete.pm index a0ba7cba891..1ec617707d9 100644 --- a/usr.sbin/pkg_add/OpenBSD/AddDelete.pm +++ b/usr.sbin/pkg_add/OpenBSD/AddDelete.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: AddDelete.pm,v 1.60 2014/01/30 13:23:51 espie Exp $ +# $OpenBSD: AddDelete.pm,v 1.61 2014/03/18 18:53:29 espie Exp $ # # Copyright (c) 2007-2010 Marc Espie <espie@openbsd.org> # @@ -432,7 +432,6 @@ sub init } open my $fh, "-|", @{$self->{ldconfig}}, "-r"; if (defined $fh) { - my $_; while (<$fh>) { if (m/^\s*search directories:\s*(.*?)\s*$/o) { for my $d (split(/\:/o, $1)) { |