summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/parse-xml.c b/parse-xml.c
index 272b82c0f..b4fc9e716 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -1485,8 +1485,7 @@ static void reset_all(void)
import_source = UNKNOWN;
}
-void parse_xml_buffer(const char *url, const char *buffer, int size, GError **error,
- gboolean possible_default_filename)
+void parse_xml_buffer(const char *url, const char *buffer, int size, GError **error)
{
xmlDoc *doc;
@@ -1502,9 +1501,6 @@ void parse_xml_buffer(const char *url, const char *buffer, int size, GError **er
}
return;
}
- /* remember, if necessary, that this is the filename to store to */
- if (possible_default_filename)
- set_filename(url, FALSE);
reset_all();
dive_start();
#ifdef XSLT