From 542db781a2d49edc46604929ba3e8df8fd4456be Mon Sep 17 00:00:00 2001 From: John Peacock Date: Wed, 30 May 2007 15:49:54 +0000 Subject: [PATCH] Always initialize variables if setting them is conditional. git-svn-id: https://svn.perl.org/qpsmtpd/trunk@746 958fd67b-6ff1-0310-b445-bb7760255be9 --- lib/Qpsmtpd/SMTP.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Qpsmtpd/SMTP.pm b/lib/Qpsmtpd/SMTP.pm index 3fcd593..6b89e11 100644 --- a/lib/Qpsmtpd/SMTP.pm +++ b/lib/Qpsmtpd/SMTP.pm @@ -659,8 +659,8 @@ sub data_respond { my $smtp = $self->connection->hello eq "ehlo" ? "ESMTP" : "SMTP"; my $esmtp = substr($smtp,0,1) eq "E"; - my $authheader; - my $sslheader; + my $authheader = ''; + my $sslheader = ''; if (defined $self->connection->notes('tls_enabled') and $self->connection->notes('tls_enabled')) {