projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2ea5f1
)
Fix runtime warning in camel_filter_driver_flush().
author
Matthew Barnes
<mbarnes@redhat.com>
Mon, 12 Jul 2010 11:49:58 +0000
(07:49 -0400)
committer
Matthew Barnes
<mbarnes@redhat.com>
Mon, 12 Jul 2010 11:49:58 +0000
(07:49 -0400)
Only propagate the error if there's an error to propagate.
camel/camel-filter-driver.c
patch
|
blob
|
history
diff --git
a/camel/camel-filter-driver.c
b/camel/camel-filter-driver.c
index
b52a561
..
528b83d
100644
(file)
--- a/
camel/camel-filter-driver.c
+++ b/
camel/camel-filter-driver.c
@@
-1179,7
+1179,8
@@
camel_filter_driver_flush (CamelFilterDriver *driver,
g_hash_table_foreach_remove (p->only_once, (GHRFunc) run_only_once, &data);
- g_propagate_error (error, data.error);
+ if (data.error != NULL)
+ g_propagate_error (error, data.error);
}
static gint