SA: suppress undefined variable warnings

This commit is contained in:
Matt Simerson 2012-11-14 18:00:30 -05:00
parent 21ce00cc90
commit e959e408b1

View File

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