From cb0371df5be2888cc2d0ad4c360642ab80e89ec9 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Fri, 14 Apr 2000 21:10:01 +0000 Subject: Fixing a warning. 2000-04-14 Christopher James Lahey * e-xml-utils.c: Fixing a warning. svn path=/trunk/; revision=2437 --- e-util/e-xml-utils.c | 2 +- e-util/e-xml-utils.c-56826 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'e-util') 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); -- cgit v1.2.3