From f330b62eaad55827697f10b2ed1d389a8ac0b756 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 25 Sep 2012 06:23:32 +0000 Subject: (upload_prefix_in_section) kill unused variable --- emi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'emi') diff --git a/emi b/emi index caf5b2b..ac1e9a8 100755 --- a/emi +++ b/emi @@ -281,10 +281,9 @@ sub upload_prefix_in_section { my $text = join("\n", qq(The upload of the following packages failed:\n), map { "- $_" } @pkgs) . "\n"; my $rpms = join(' ', @pkgs, undef); my $to = get_author_email($user) || "Unknown <$config->{admin}>"; - my $cc; $text .= "\nUpload log available in $config->{http_queue}/rejected/$path/$prefix.youri\n"; - sendmail($to, $cc, "Upload failed for $rpms", $text, "Emi the upload bot <$config->{admin}>", 0, $config); + sendmail($to, undef, "Upload failed for $rpms", $text, "Emi the upload bot <$config->{admin}>", 0, $config); } # should delete the files -- cgit v1.2.1