From: Ævar Arnfjörð Bjarmason Date: Thu, 30 Sep 2010 13:43:00 +0000 (+0000) Subject: send-email: cleanup_compose_files doesn't need a prototype X-Git-Tag: v1.7.4-rc0~160^2~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4bf597ee05495b6fed37972eac722e5269a6b957;p=git.git send-email: cleanup_compose_files doesn't need a prototype Signed-off-by: Ævar Arnfjörð Bjarmason Reviewed-by: Jeff King > Signed-off-by: Junio C Hamano --- diff --git a/git-send-email.perl b/git-send-email.perl index 90b777a9f..ce9b5ebd4 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -136,8 +136,6 @@ my $have_mail_address = eval { require Mail::Address; 1 }; my $smtp; my $auth; -sub cleanup_compose_files(); - # Variables we fill in automatically, or via prompting: my (@to,$no_to,@cc,$no_cc,@initial_cc,@bcclist,$no_bcc,@xh, $initial_reply_to,$initial_subject,@files, @@ -1325,7 +1323,7 @@ foreach my $t (@files) { cleanup_compose_files(); -sub cleanup_compose_files() { +sub cleanup_compose_files { unlink($compose_filename, $compose_filename . ".final") if $compose; }