mirror of
https://github.com/git/git.git
synced 2024-11-18 19:13:58 +01:00
git-send-email: avoid uninitialized variable warning.
The code took length of $reply_to when it was not even defined, causing -w to warn. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
51a7c66a73
commit
bc108f63da
@ -538,7 +538,7 @@ foreach my $t (@files) {
|
||||
send_message();
|
||||
|
||||
# set up for the next message
|
||||
if ($chain_reply_to || length($reply_to) == 0) {
|
||||
if ($chain_reply_to || !defined $reply_to || length($reply_to) == 0) {
|
||||
$reply_to = $message_id;
|
||||
if (length $references > 0) {
|
||||
$references .= " $message_id";
|
||||
|
Loading…
Reference in New Issue
Block a user