From: Vincent Pit Date: Sun, 15 Aug 2010 16:31:39 +0000 (+0200) Subject: Remove some unused variables X-Git-Tag: rt87282~36 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=319c48d4562198fc1667447e685b92645f4c98ae;p=perl%2Fmodules%2FLaTeX-TikZ.git Remove some unused variables --- diff --git a/lib/LaTeX/TikZ/Functor/Rule.pm b/lib/LaTeX/TikZ/Functor/Rule.pm index df5b553..0962e90 100644 --- a/lib/LaTeX/TikZ/Functor/Rule.pm +++ b/lib/LaTeX/TikZ/Functor/Rule.pm @@ -140,9 +140,6 @@ sub insert { my $overwrite = $args{overwrite}; my $replace = $args{replace}; - my $target = $rule->target; - my $is_role = $rule->is_role; - if ($replace) { my (@remove, $replaced); @@ -166,6 +163,7 @@ sub insert { return 1 if $replaced; } else { # Replace only an existent rule + my $target = $rule->target; for my $i (0 .. $#$list) { my $old_target = $list->[$i]->target;