Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Jan 14, 2024
1 parent b6f7c50 commit b24a9a2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions gedcom
Original file line number Diff line number Diff line change
Expand Up @@ -2845,8 +2845,6 @@ sub print_person
@phrases = ();
}

my $print_sibling_count = 0;

if($father || $mother) {
if($phrase->length() > 0) {
if($language eq 'French') {
Expand Down Expand Up @@ -2906,7 +2904,6 @@ sub print_person
@siblings = Sort::Key::DateTime::dtkeysort { $dfn->parse_datetime(@{$date_parser->parse(date => dateofbirth($_))}[0]->{'canonical'}) } @siblings;
}
my $age_index = 1; # count of siblings born before $person + 1 (i.e. where $person is in the date order)
$print_sibling_count = 1;
foreach my $sibling(@siblings) {
if(my $dob = dateofbirth($sibling)) {
if($dob =~ /\s$/) {
Expand Down

0 comments on commit b24a9a2

Please sign in to comment.