Skip to content

Commit 53bdbe9

Browse files
committed
documents: Don't set ctxt->directory
This struct member is unused.
1 parent 73b955a commit 53bdbe9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

libxslt/documents.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ xsltDocDefaultLoaderFunc(const xmlChar * URI, xmlDictPtr dict, int options,
8888
return(NULL);
8989
}
9090
inputPush(pctxt, inputStream);
91-
if (pctxt->directory == NULL)
92-
pctxt->directory = xmlParserGetDirectory((const char *) URI);
9391

9492
xmlParseDocument(pctxt);
9593

0 commit comments

Comments
 (0)