summaryrefslogtreecommitdiff
path: root/src/common/xml.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-10-17 22:55:35 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-10-17 22:55:35 (GMT)
commit2cfb66fcd5e8293d1dd689691bdc8c3517dd183a (patch)
treefd4536a69473c5c4d8204d052813f764286ea0ab /src/common/xml.c
parentaf29afcc9a37113e4187b1c0a20e3bf5e2dcd4d9 (diff)
Fixed other gcc warnings.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@273 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/common/xml.c')
-rw-r--r--src/common/xml.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/xml.c b/src/common/xml.c
index 1129d9c..5612247 100644
--- a/src/common/xml.c
+++ b/src/common/xml.c
@@ -713,7 +713,9 @@ xmlNodePtr add_node_to_xpath(xmlDocPtr xdoc, xmlXPathContextPtr context, const c
parent = get_node_from_xpath(context, path);
if (parent == NULL) return NULL;
- return add_node_to_node(xdoc, parent, name);
+ result = add_node_to_node(xdoc, parent, name);
+
+ return result;
}