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-17 11:12:43 +0800
commit39024ea8d22d39ddb193fc6839f546d9f56e787d (patch)
tree6f8940ea010c367745b6440564653afc5c5744d8 /plugins/sa-junk-plugin
parent4219464afc72d2b5a166618c66a0aa14a8248a29 (diff)
downloadgsoc2013-evolution-39024ea8d22d39ddb193fc6839f546d9f56e787d.tar.gz
gsoc2013-evolution-39024ea8d22d39ddb193fc6839f546d9f56e787d.tar.zst
gsoc2013-evolution-39024ea8d22d39ddb193fc6839f546d9f56e787d.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)) {