rename variable in XMLParser to make sure its name reflects the actual content
This commit is contained in:
parent
c836b6df3b
commit
218c810860
@ -230,9 +230,9 @@ ExtractionWay XMLParser::ReadXMLWay()
|
||||
if (depth == child_depth && child_type == 15 &&
|
||||
xmlStrEqual(child_name, (const xmlChar *)"way") == 1)
|
||||
{
|
||||
xmlChar *node_id = xmlTextReaderGetAttribute(inputReader, (const xmlChar *)"id");
|
||||
way.id = StringToUint((char *)node_id);
|
||||
xmlFree(node_id);
|
||||
xmlChar *way_id = xmlTextReaderGetAttribute(inputReader, (const xmlChar *)"id");
|
||||
way.id = StringToUint((char *)way_id);
|
||||
xmlFree(way_id);
|
||||
xmlFree(child_name);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user