aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-file.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-26 11:21:22 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-26 11:21:22 +0800
commit16c8fefe966367fa5d9747d35895f8aa6e080657 (patch)
tree469f5df2dd9afc637ff1f2ed554f223a03ddde24 /filter/filter-file.c
parenta361cff4042770c35b2ae9f5dcfb6153711d2c41 (diff)
downloadgsoc2013-evolution-16c8fefe966367fa5d9747d35895f8aa6e080657.tar.gz
gsoc2013-evolution-16c8fefe966367fa5d9747d35895f8aa6e080657.tar.zst
gsoc2013-evolution-16c8fefe966367fa5d9747d35895f8aa6e080657.zip
Fix compiler warnings in filter.
Diffstat (limited to 'filter/filter-file.c')
-rw-r--r--filter/filter-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/filter-file.c b/filter/filter-file.c
index 4126c4b937..e43a02b2ef 100644
--- a/filter/filter-file.c
+++ b/filter/filter-file.c
@@ -208,7 +208,7 @@ xml_encode (FilterElement *fe)
{
FilterFile *file = (FilterFile *) fe;
xmlNodePtr cur, value;
- char *type;
+ const gchar *type;
type = file->type ? file->type : "file";