aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-04-15 05:10:01 +0800
committerChris Lahey <clahey@src.gnome.org>2000-04-15 05:10:01 +0800
commitcb0371df5be2888cc2d0ad4c360642ab80e89ec9 (patch)
tree00207d74c43eb792345d67bff5441612c5fb98d7 /e-util
parent0937d957d6de45be608ab088f742dc8f83248284 (diff)
downloadgsoc2013-evolution-cb0371df5be2888cc2d0ad4c360642ab80e89ec9.tar
gsoc2013-evolution-cb0371df5be2888cc2d0ad4c360642ab80e89ec9.tar.gz
gsoc2013-evolution-cb0371df5be2888cc2d0ad4c360642ab80e89ec9.tar.bz2
gsoc2013-evolution-cb0371df5be2888cc2d0ad4c360642ab80e89ec9.tar.lz
gsoc2013-evolution-cb0371df5be2888cc2d0ad4c360642ab80e89ec9.tar.xz
gsoc2013-evolution-cb0371df5be2888cc2d0ad4c360642ab80e89ec9.tar.zst
gsoc2013-evolution-cb0371df5be2888cc2d0ad4c360642ab80e89ec9.zip
Fixing a warning.
2000-04-14 Christopher James Lahey <clahey@helixcode.com> * e-xml-utils.c: Fixing a warning. svn path=/trunk/; revision=2437
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-xml-utils.c2
-rw-r--r--e-util/e-xml-utils.c-568262
2 files changed, 2 insertions, 2 deletions
diff --git a/e-util/e-xml-utils.c b/e-util/e-xml-utils.c
index bfa2b1cb4c..f0182d5167 100644
--- a/e-util/e-xml-utils.c
+++ b/e-util/e-xml-utils.c
@@ -59,7 +59,7 @@ e_xml_set_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name, int value)
xmlChar *valuestr;
g_return_if_fail (parent != NULL);
- g_return_val_if_fail (prop_name != NULL, 0);
+ g_return_if_fail (prop_name != NULL);
valuestr = g_strdup_printf("%d", value);
xmlSetProp(parent, prop_name, valuestr);
diff --git a/e-util/e-xml-utils.c-56826 b/e-util/e-xml-utils.c-56826
index bfa2b1cb4c..f0182d5167 100644
--- a/e-util/e-xml-utils.c-56826
+++ b/e-util/e-xml-utils.c-56826
@@ -59,7 +59,7 @@ e_xml_set_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name, int value)
xmlChar *valuestr;
g_return_if_fail (parent != NULL);
- g_return_val_if_fail (prop_name != NULL, 0);
+ g_return_if_fail (prop_name != NULL);
valuestr = g_strdup_printf("%d", value);
xmlSetProp(parent, prop_name, valuestr);