diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-08-05 23:39:20 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-08-05 23:39:20 +0000 |
commit | 69bdb94fced5dfbf6a4b3dd35976b7fef24169a8 (patch) | |
tree | c9317b0a8f56b1d2501d3701f9071c44d778b77d /usr.sbin/pkg_add/OpenBSD/PackingList.pm | |
parent | b1a99bfe922d9636aedd85d5a14aa01ce59bf207 (diff) |
kill 3 lines of unused code
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackingList.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackingList.pm | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingList.pm b/usr.sbin/pkg_add/OpenBSD/PackingList.pm index 37adf5682c4..4ecb7f5d7da 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackingList.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackingList.pm @@ -1,4 +1,4 @@ -# $OpenBSD: PackingList.pm,v 1.17 2004/08/05 23:36:40 espie Exp $ +# $OpenBSD: PackingList.pm,v 1.18 2004/08/05 23:39:19 espie Exp $ # # Copyright (c) 2003 Marc Espie. # @@ -121,12 +121,7 @@ MAINLOOP: sub write { - my ($self, $fh, $w) = @_; - - $w = sub { - my ($o, $fh) = @_; - $o->write($fh); - } unless defined $w; + my ($self, $fh) = @_; if (defined $self->{cvstags}) { for my $item (@{$self->{cvstags}}) { |