From: Jakub Narebski Date: Mon, 7 Aug 2006 23:15:05 +0000 (+0200) Subject: gitweb: Remove unused variables in git_shortlog_body and git_heads X-Git-Tag: v1.4.3-rc1~274^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f1efc38bf2856f875b878177c0f0a98d9eb3bb4e;p=git.git gitweb: Remove unused variables in git_shortlog_body and git_heads Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index b3bfc6bd9..eabece78c 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -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 "\n"; } else { @@ -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); }