Skip to content

Commit aadd61a

Browse files
committed
Remove unused vars from Mechanize.pm
1 parent 4a43230 commit aadd61a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/WWW/Mechanize.pm

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2983,7 +2983,6 @@ C<undef>, it dumps to STDOUT.
29832983
sub dump_text {
29842984
my $self = shift;
29852985
my $fh = shift || \*STDOUT;
2986-
my $absolute = shift;
29872986

29882987
print {$fh} $self->text, "\n";
29892988

@@ -3378,7 +3377,7 @@ sub _extract_images {
33783377
next if $tag_name =~ m{^/};
33793378

33803379
if ( $image_tags{$tag_name} ) {
3381-
my $image = $self->_image_from_token( $token, $parser );
3380+
my $image = $self->_image_from_token( $token );
33823381
push( @{ $self->{images} }, $image ) if $image;
33833382
}
33843383
elsif ( $tag_name eq 'style' ) {
@@ -3404,7 +3403,6 @@ sub _extract_images {
34043403
sub _image_from_token {
34053404
my $self = shift;
34063405
my $token = shift;
3407-
my $parser = shift;
34083406

34093407
my $tag = $token->[0];
34103408
my $attrs = $token->[1];

0 commit comments

Comments
 (0)