mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
Fix variable shadowing that makes the previous fix ineffective.
This commit is contained in:
parent
ae981ab946
commit
6d8988d36d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user