From 427e92ee7b1eeef55451ae15b81a3eb715796266 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}; };