From e959e408b1dad2771fa56bc55321a5b7e48b2407 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Wed, 14 Nov 2012 18:00:30 -0500 Subject: [PATCH] SA: suppress undefined variable warnings --- plugins/spamassassin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/spamassassin b/plugins/spamassassin index d3b9710..082f44d 100644 --- a/plugins/spamassassin +++ b/plugins/spamassassin @@ -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}; };