Skip to content

Commit

Permalink
Remove pointless variable
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Apr 9, 2015
1 parent 67148c5 commit d2c7b38
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Genealogy/Chart/SVG.pm
Expand Up @@ -136,8 +136,7 @@ sub person {

my $until = $d || $self->left;

# TODO: I think that $p is pointless here
my $p = $self->rect(
$self->rect(
x => ( $self->left - $until ) * $self->pixels_per_year,
y => ( $self->height * y_pos($n) ) - ( $self->bar_height / 2 ),
width => ( $until - $b ) * $self->pixels_per_year,
Expand Down

0 comments on commit d2c7b38

Please sign in to comment.