X-Git-Url: https://git.tld-linux.org/?p=packages%2Fspamassassin.git;a=blobdiff_plain;f=fix-uninitialized-concat;fp=fix-uninitialized-concat;h=0000000000000000000000000000000000000000;hp=1c62c999044350905712ecd77f855b795b5a004c;hb=6df75f9a0363eb6cd04fb8482185460861d7fd47;hpb=31d299da7461e63fbed924ba5134550f1107eb7c diff --git a/fix-uninitialized-concat b/fix-uninitialized-concat deleted file mode 100644 index 1c62c99..0000000 --- a/fix-uninitialized-concat +++ /dev/null @@ -1,25 +0,0 @@ -Description: Import upstream fix for uninitialized value warning in Mail::SpamAssassin::PerMsgStatus::get_names_of_tests_hit_with_scores() -Origin: https://svn.apache.org/viewvc?view=revision&revision=1685843 -Bug: https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7212 -Index: spamassassin-3.4.1/lib/Mail/SpamAssassin/PerMsgStatus.pm -=================================================================== ---- spamassassin-3.4.1.orig/lib/Mail/SpamAssassin/PerMsgStatus.pm -+++ spamassassin-3.4.1/lib/Mail/SpamAssassin/PerMsgStatus.pm -@@ -738,7 +738,7 @@ test names and individual scores of the - sub get_names_of_tests_hit_with_scores_hash { - my ($self) = @_; - -- my ($line, %testsscores); -+ my (%testsscores); - - #BASED ON CODE FOR TESTSSCORES TAG - KAM 2014-04-24 - foreach my $test (@{$self->{test_names_hit}}) { -@@ -763,6 +763,8 @@ sub get_names_of_tests_hit_with_scores { - - my ($line, %testsscores); - -+ $line = ''; -+ - #BASED ON CODE FOR TESTSSCORES TAG - KAM 2014-04-24 - foreach my $test (sort @{$self->{test_names_hit}}) { - my $score = $self->{conf}->{scores}->{$test};