diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2010-09-30 13:43:00 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-09-30 12:20:32 -0700 |
commit | 4bf597ee05495b6fed37972eac722e5269a6b957 (patch) | |
tree | 62db58e5f0489757eba9b664b928827a8d6d6783 /git-send-email.perl | |
parent | c438ea2a8bd25054057220498eca4caa2aca0131 (diff) | |
download | git-4bf597ee05495b6fed37972eac722e5269a6b957.tar.gz |
send-email: cleanup_compose_files doesn't need a prototype
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.comReviewed-by: Avery Pennarun <apenwarr@gmail.com>
Reviewed-by: Jeff King <peff@peff.net>
>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-send-email.perl')
-rwxr-xr-x | 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 90b777a9fa..ce9b5ebd40 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; } |