diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-10-17 22:55:35 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-10-17 22:55:35 (GMT) |
commit | 2cfb66fcd5e8293d1dd689691bdc8c3517dd183a (patch) | |
tree | fd4536a69473c5c4d8204d052813f764286ea0ab /src/common/xml.c | |
parent | af29afcc9a37113e4187b1c0a20e3bf5e2dcd4d9 (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.c | 4 |
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; } |