aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sa-junk-plugin
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-17 11:12:43 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-21 10:53:49 +0800
commita93d90ffba2e9f52b19fb22f93255f835909953e (patch)
treeba6666dfe244b7f6ab885ea4ec6db165f0cd6668 /plugins/sa-junk-plugin
parent5893a146f20f364042410aa7d8cd45f8194ae745 (diff)
downloadgsoc2013-evolution-a93d90ffba2e9f52b19fb22f93255f835909953e.tar.gz
gsoc2013-evolution-a93d90ffba2e9f52b19fb22f93255f835909953e.tar.zst
gsoc2013-evolution-a93d90ffba2e9f52b19fb22f93255f835909953e.zip
Fix compiler warnings.
Diffstat (limited to 'plugins/sa-junk-plugin')
-rw-r--r--plugins/sa-junk-plugin/em-junk-filter.c8
1 files changed, 4 insertions, 4 deletions
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)) {