Skip to content

Commit

Permalink
send-email: cleanup_compose_files doesn't need a prototype
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ævar Arnfjörð Bjarmason authored and Junio C Hamano committed Sep 30, 2010
1 parent c438ea2 commit 4bf597e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions git-send-email.perl
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,6 @@ sub format_2822_time {
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,
Expand Down Expand Up @@ -1325,7 +1323,7 @@ sub send_message {

cleanup_compose_files();

sub cleanup_compose_files() {
sub cleanup_compose_files {
unlink($compose_filename, $compose_filename . ".final") if $compose;
}

Expand Down

0 comments on commit 4bf597e

Please sign in to comment.