зеркало из https://github.com/microsoft/git.git
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>
This commit is contained in:
Родитель
c438ea2a8b
Коммит
4bf597ee05
|
@ -136,8 +136,6 @@ my $have_mail_address = eval { require Mail::Address; 1 };
|
||||||
my $smtp;
|
my $smtp;
|
||||||
my $auth;
|
my $auth;
|
||||||
|
|
||||||
sub cleanup_compose_files();
|
|
||||||
|
|
||||||
# Variables we fill in automatically, or via prompting:
|
# Variables we fill in automatically, or via prompting:
|
||||||
my (@to,$no_to,@cc,$no_cc,@initial_cc,@bcclist,$no_bcc,@xh,
|
my (@to,$no_to,@cc,$no_cc,@initial_cc,@bcclist,$no_bcc,@xh,
|
||||||
$initial_reply_to,$initial_subject,@files,
|
$initial_reply_to,$initial_subject,@files,
|
||||||
|
@ -1325,7 +1323,7 @@ foreach my $t (@files) {
|
||||||
|
|
||||||
cleanup_compose_files();
|
cleanup_compose_files();
|
||||||
|
|
||||||
sub cleanup_compose_files() {
|
sub cleanup_compose_files {
|
||||||
unlink($compose_filename, $compose_filename . ".final") if $compose;
|
unlink($compose_filename, $compose_filename . ".final") if $compose;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче