From 39024ea8d22d39ddb193fc6839f546d9f56e787d Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 16 May 2009 23:12:43 -0400 Subject: Fix compiler warnings. --- plugins/sa-junk-plugin/em-junk-filter.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/sa-junk-plugin') diff --git a/plugins/sa-junk-plugin/em-junk-filter.c b/plugins/sa-junk-plugin/em-junk-filter.c index 8a15ce98ac..39efa2f5ac 100644 --- a/plugins/sa-junk-plugin/em-junk-filter.c +++ b/plugins/sa-junk-plugin/em-junk-filter.c @@ -753,10 +753,6 @@ em_junk_sa_report_non_junk (EPlugin *ep, EMJunkHookTarget *target) void em_junk_sa_commit_reports (EPlugin *ep) { - /* Only meaningful if we're using sa-learn */ - if (!no_allow_tell) - return; - char *sync_op = ((get_spamassassin_version () >= 3) ? "--sync": "--rebuild"); char *argv[4] = { "sa-learn", @@ -765,6 +761,10 @@ em_junk_sa_commit_reports (EPlugin *ep) NULL }; + /* Only meaningful if we're using sa-learn */ + if (!no_allow_tell) + return; + d(fprintf (stderr, "em_junk_sa_commit_reports\n")); if (em_junk_sa_is_available (NULL)) { -- cgit v1.2.3