aboutsummaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-17 00:11:55 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-17 00:11:55 +0800
commite4fa8fe10408c4c370e1e11e4bb2d7745f50aceb (patch)
tree319f9a8d7601f7f0d028e6942aced54c439b8693 /filter
parentea3e4f239a529716452159d5deac20cd9a38c832 (diff)
downloadgsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.tar
gsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.tar.gz
gsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.tar.bz2
gsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.tar.lz
gsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.tar.xz
gsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.tar.zst
gsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.zip
Fix several types of pedantic compiler warnings.
Diffstat (limited to 'filter')
-rw-r--r--filter/filter-datespec.c2
-rw-r--r--filter/filter-datespec.h2
-rw-r--r--filter/filter-rule.h2
-rw-r--r--filter/rule-context.h2
-rw-r--r--filter/rule-editor.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/filter/filter-datespec.c b/filter/filter-datespec.c
index 599681c4d4..cf92b804f5 100644
--- a/filter/filter-datespec.c
+++ b/filter/filter-datespec.c
@@ -366,7 +366,7 @@ set_values (FilterDatespec *fds)
p->type = fds->type==FDST_UNKNOWN ? FDST_NOW : fds->type;
- note_type = fds->type==FDST_X_FUTURE ? FDST_X_AGO : fds->type; // FUTURE and AGO use the same notebook pages/etc.
+ note_type = fds->type==FDST_X_FUTURE ? FDST_X_AGO : fds->type; /* FUTURE and AGO use the same notebook pages/etc. */
switch (p->type) {
case FDST_NOW:
diff --git a/filter/filter-datespec.h b/filter/filter-datespec.h
index 29c4f872b1..cbb79a46c5 100644
--- a/filter/filter-datespec.h
+++ b/filter/filter-datespec.h
@@ -42,7 +42,7 @@ typedef enum _FilterDatespec_type {
FDST_NOW,
FDST_SPECIFIED,
FDST_X_AGO,
- FDST_X_FUTURE,
+ FDST_X_FUTURE
} FilterDatespec_type;
struct _FilterDatespec {
diff --git a/filter/filter-rule.h b/filter/filter-rule.h
index 184c1270e5..b1683e1c8b 100644
--- a/filter/filter-rule.h
+++ b/filter/filter-rule.h
@@ -52,7 +52,7 @@ enum _filter_threading_t {
FILTER_THREAD_ALL, /* add all possible threads */
FILTER_THREAD_REPLIES, /* add only replies */
FILTER_THREAD_REPLIES_PARENTS, /* replies plus parents */
- FILTER_THREAD_SINGLE, /* messages with no replies or parents */
+ FILTER_THREAD_SINGLE /* messages with no replies or parents */
};
#define FILTER_SOURCE_INCOMING "incoming" /* performed on incoming email */
diff --git a/filter/rule-context.h b/filter/rule-context.h
index f7a10df65f..ba7e47c381 100644
--- a/filter/rule-context.h
+++ b/filter/rule-context.h
@@ -45,7 +45,7 @@ typedef struct _RuleContextClass RuleContextClass;
/* backend capabilities, this is a hack since we don't support nested rules */
enum {
RULE_CONTEXT_GROUPING = 1 << 0,
- RULE_CONTEXT_THREADING = 1 << 1,
+ RULE_CONTEXT_THREADING = 1 << 1
};
struct _RuleContext {
diff --git a/filter/rule-editor.h b/filter/rule-editor.h
index 4e675f839f..555b5e8263 100644
--- a/filter/rule-editor.h
+++ b/filter/rule-editor.h
@@ -77,7 +77,7 @@ enum {
RULE_EDITOR_LOG_EDIT,
RULE_EDITOR_LOG_ADD,
RULE_EDITOR_LOG_REMOVE,
- RULE_EDITOR_LOG_RANK,
+ RULE_EDITOR_LOG_RANK
};
struct _RuleEditorUndo {