Code

gitweb: Remove unused variables in git_shortlog_body and git_heads
authorJakub Narebski <jnareb@gmail.com>
Mon, 7 Aug 2006 23:15:05 +0000 (01:15 +0200)
committerJunio C Hamano <junkio@cox.net>
Tue, 8 Aug 2006 00:29:40 +0000 (17:29 -0700)
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl

index b3bfc6bd9edf8634ff8c092d43d7e037eef034bf..eabece78c28dce486b883e40cea4c7edc792d4b9 100755 (executable)
@@ -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);
        }