SA: suppress undefined variable warnings

This commit is contained in:
Matt Simerson 2012-11-14 18:00:30 -05:00
parent f0c01a0412
commit 427e92ee7b

View File

@ -392,7 +392,7 @@ sub reject {
my $ham_or_spam = $sa_results->{is_spam} eq 'Yes' ? 'Spam' : 'Ham'; my $ham_or_spam = $sa_results->{is_spam} eq 'Yes' ? 'Spam' : 'Ham';
my $status = "$ham_or_spam, $score"; my $status = "$ham_or_spam, $score";
my $learn; my $learn = '';
if ( $sa_results->{autolearn} ) { if ( $sa_results->{autolearn} ) {
$learn = "learn=". $sa_results->{autolearn}; $learn = "learn=". $sa_results->{autolearn};
}; };