Skip to content

Commit

Permalink
gitweb: Remove unused variables in git_shortlog_body and git_heads
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Jakub Narebski authored and Junio C Hamano committed Aug 8, 2006
1 parent dd04c42 commit f1efc38
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gitweb/gitweb.perl
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,6 @@ sub git_shortlog_body {
#my $ref = defined $refs ? git_get_referencing($refs, $commit) : '';
my $ref = git_get_referencing($refs, $commit);
my %co = git_read_commit($commit);
my %ad = date_str($co{'author_epoch'});
if ($alternate) {
print "<tr class=\"dark\">\n";
} else {
Expand Down Expand Up @@ -1638,7 +1637,6 @@ sub git_heads {
git_header_div('summary', $project);

my $taglist = git_read_refs("refs/heads");
my $alternate = 0;
if (defined @$taglist) {
git_heads_body($taglist, $head);
}
Expand Down

0 comments on commit f1efc38

Please sign in to comment.