Skip to content

Commit 4bf597e

Browse files
avargitster
authored andcommitted
send-email: cleanup_compose_files doesn't need a prototype
Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]: Avery Pennarun <[email protected]> Reviewed-by: Jeff King <[email protected]> > Signed-off-by: Junio C Hamano <[email protected]>
1 parent c438ea2 commit 4bf597e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

git-send-email.perl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,6 @@ sub format_2822_time {
136136
my $smtp;
137137
my $auth;
138138

139-
sub cleanup_compose_files();
140-
141139
# Variables we fill in automatically, or via prompting:
142140
my (@to,$no_to,@cc,$no_cc,@initial_cc,@bcclist,$no_bcc,@xh,
143141
$initial_reply_to,$initial_subject,@files,
@@ -1325,7 +1323,7 @@ sub send_message {
13251323

13261324
cleanup_compose_files();
13271325

1328-
sub cleanup_compose_files() {
1326+
sub cleanup_compose_files {
13291327
unlink($compose_filename, $compose_filename . ".final") if $compose;
13301328
}
13311329

0 commit comments

Comments
 (0)