gitweb: Remove unused variables in git_shortlog_body and git_heads
Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Jakub Narebski committed
Aug 8, 2006 at 01:15 UTC
f1efc38bf2856f875b878177c0f0a98d9eb3bb4e
1 file changed
-2
gitweb/gitweb.perl
-2
@@ -1065,7 +1065,6 @@ sub git_shortlog_body {
1065
#my $ref = defined $refs ? git_get_referencing($refs, $commit) : '';
1066
my $ref = git_get_referencing($refs, $commit);
1067
my %co = git_read_commit($commit);
1068
- my %ad = date_str($co{'author_epoch'});
1068
if ($alternate) {
1069
print "<tr class=\"dark\">\n";
1070
} else {
@@ -1638,7 +1637,6 @@ sub git_heads {
1637
git_header_div('summary', $project);
1638
1639
my $taglist = git_read_refs("refs/heads");
1641
- my $alternate = 0;
1640
if (defined @$taglist) {
1641
git_heads_body($taglist, $head);
1642
}