From: Ævar Arnfjörð Bjarmason Date: Thu, 30 Sep 2010 13:43:00 GMT Subject: [PATCH 07/16] send-email: cleanup_compose_files doesn't need a prototype Message-ID: <1285854189-10240-8-git-send-email-avarab@gmail.com> In-Reply-To: <1285854189-10240-1-git-send-email-avarab@gmail.com> Signed-off-by: Ævar Arnfjörð Bjarmason --- git-send-email.perl | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/git-send-email.perl b/git-send-email.perl index 90b777a..ce9b5eb 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; } -- 1.7.3.159.g610493