{"thread":{"id":"5170","subject":"[PATCH] gitweb: Remove unused variables in git_shortlog_body and git_heads","startedAt":"2006-08-07T23:15:05Z","lastAt":"2006-08-07T23:15:05Z","messageCount":1,"participants":["Jakub Narebski"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"24962","messageId":"200608080115.05684.jnareb@gmail.com","threadId":"5170","inReplyTo":null,"subject":"[PATCH] gitweb: Remove unused variables in git_shortlog_body and git_heads","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2006-08-07T23:15:05Z","receivedAt":"2006-08-07T23:15:05Z","isPatch":true,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"\nSigned-off-by: Jakub Narebski <jnareb@gmail.com>\n---\nCleanup.\n\n gitweb/gitweb.perl |    2 --\n 1 files changed, 0 insertions(+), 2 deletions(-)\n\ndiff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl\nindex b3bfc6b..eabece7 100755\n--- a/gitweb/gitweb.perl\n+++ b/gitweb/gitweb.perl\n@@ -1065,7 +1065,6 @@ sub git_shortlog_body {\n \t\t#my $ref = defined $refs ? git_get_referencing($refs, $commit) : '';\n \t\tmy $ref = git_get_referencing($refs, $commit);\n \t\tmy %co = git_read_commit($commit);\n-\t\tmy %ad = date_str($co{'author_epoch'});\n \t\tif ($alternate) {\n \t\t\tprint \"<tr class=\\\"dark\\\">\\n\";\n \t\t} else {\n@@ -1638,7 +1637,6 @@ sub git_heads {\n \tgit_header_div('summary', $project);\n \n \tmy $taglist = git_read_refs(\"refs/heads\");\n-\tmy $alternate = 0;\n \tif (defined @$taglist) {\n \t\tgit_heads_body($taglist, $head);\n \t}\n-- \n1.4.1.1\n"}]}