send-email: squelch warning due to comparing undefined $_ to ""
[git/git.git] / git-send-email.perl
index a1a9d14..8e6f3b2 100755 (executable)
@@ -406,7 +406,7 @@ if ($thread && !defined $initial_reply_to && $prompting) {
 
        $initial_reply_to = $_;
 }
-if (defined $initial_reply_to && $_ ne "") {
+if (defined $initial_reply_to) {
        $initial_reply_to =~ s/^\s*<?/</;
        $initial_reply_to =~ s/>?\s*$/>/;
 }