From e67bcb28d0238022e00c49977b58d3c5423bb69e Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Tue, 14 Oct 2014 22:21:58 +0200 Subject: [PATCH] (rxml.c) Silence warnings --- compat/rxml/rxml.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/compat/rxml/rxml.c b/compat/rxml/rxml.c index 75d560284c..3d521a3b0e 100644 --- a/compat/rxml/rxml.c +++ b/compat/rxml/rxml.c @@ -284,15 +284,20 @@ static struct rxml_node *rxml_parse_node(const char **ptr_) /* Parse all child nodes. */ struct rxml_node *list = NULL; struct rxml_node *tail = NULL; + const char *first_start = NULL, *first_closing = NULL; - const char *ptr = child_start; - - const char *first_start = strchr(ptr, '<'); - const char *first_closing = strstr(ptr, "