mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-05 19:01:18 +03:00
parser: Stop using 'directory' struct member
This was only used as a pointless fallback for URI resolution.
This commit is contained in:
@ -692,7 +692,6 @@ pythonExternalEntityLoader(const char *URL, const char *ID,
|
||||
Py_DECREF(ret);
|
||||
} else if (URL != NULL) {
|
||||
result->filename = (char *) xmlStrdup((const xmlChar *)URL);
|
||||
result->directory = xmlParserGetDirectory((const char *) URL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user