From: Jesse Luehrs Date: Fri, 15 Oct 2010 22:29:30 +0000 (-0500) Subject: remove some unused variables X-Git-Tag: 1.16~52 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f345ed396ec05404932637caab6feb5051c1ffa0;p=gitmo%2FMoose.git remove some unused variables --- diff --git a/lib/Moose/Meta/Method/Accessor.pm b/lib/Moose/Meta/Method/Accessor.pm index 9c04242..2abd08d 100644 --- a/lib/Moose/Meta/Method/Accessor.pm +++ b/lib/Moose/Meta/Method/Accessor.pm @@ -51,7 +51,6 @@ sub _eval_environment { sub _generate_accessor_method_inline { my $self = $_[0]; - my $attr = $self->associated_attribute; my $inv = '$_[0]'; my $value_name = $self->_value_needs_copy ? '$val' : '$_[1]'; @@ -74,9 +73,7 @@ sub _generate_accessor_method_inline { sub _generate_writer_method_inline { my $self = $_[0]; - my $attr = $self->associated_attribute; my $inv = '$_[0]'; - my $slot_access = $self->_inline_get($inv); my $value_name = $self->_value_needs_copy ? '$val' : '$_[1]'; $self->_eval_code('sub { ' @@ -94,7 +91,6 @@ sub _generate_writer_method_inline { sub _generate_reader_method_inline { my $self = $_[0]; - my $attr = $self->associated_attribute; my $inv = '$_[0]'; my $slot_access = $self->_inline_get($inv);