SA Bugzilla – Bug 428
add "-w" flag to top line of mass-check and other front-end scripts
Last modified: 2002-06-14 03:48:59 UTC
Malte S. Stretz writes: > Subject: [Bug 420] raises warning > [...] > | "my" variable @lines masks earlier declaration in same scope at > | ../lib/Mail/SpamAssassin/EvalTests.pm line 1254. > This one should fix it. Maybe SpamAssassin.pm should 'use warnings'... (Note: I just fixed the typo.) 'use warnings' is left out of SpamAssassin.pm because it was not supported in perl 5.005. I didn't get the warning because I was running "mass-check" instead of "spamassassin". Maybe someone should add a "-w" to the top line of mass-check and all the other front-end scripts.
Created attachment 165 [details] patch to add -w to mass-check (others front-ends may need it too, but I don't use them... yet)
Thanks. Committed for 2.30.