aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2006-08-08 01:15:05 +0200
committerJunio C Hamano <junkio@cox.net>2006-08-07 17:29:40 -0700
commitf1efc38bf2856f875b878177c0f0a98d9eb3bb4e (patch)
tree23c17cf7c44be5f0312a60e88fd5fc40852d661a
parentdd04c428cfea1d9dd7684bbd9e2919fbad051b26 (diff)
downloadgit-f1efc38bf2856f875b878177c0f0a98d9eb3bb4e.tar.gz
git-f1efc38bf2856f875b878177c0f0a98d9eb3bb4e.tar.xz
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>
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 0 insertions, 2 deletions
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 "<tr class=\"dark\">\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);
}