From 6d8988d36d0b085a860abba2ca9d0bc1d5987d8c Mon Sep 17 00:00:00 2001 From: Alcaro Date: Sun, 3 Nov 2013 19:56:20 +0100 Subject: [PATCH] Fix variable shadowing that makes the previous fix ineffective. --- compat/rxml/rxml.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compat/rxml/rxml.c b/compat/rxml/rxml.c index c98597f696..12e8eecfbd 100644 --- a/compat/rxml/rxml.c +++ b/compat/rxml/rxml.c @@ -143,8 +143,8 @@ static struct rxml_attrib_node *rxml_parse_attrs(const char *str) if (!end || end != (elem + strlen(elem) - 1)) goto end; - char *attrib = strdup_range_escape(elem, eq); - char *value = strdup_range_escape(eq + 2, end); + attrib = strdup_range_escape(elem, eq); + value = strdup_range_escape(eq + 2, end); if (!attrib || !value) goto end;