summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-query.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private/caja-query.c')
-rw-r--r--libcaja-private/caja-query.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libcaja-private/caja-query.c b/libcaja-private/caja-query.c
index d0902652..ddeb8d24 100644
--- a/libcaja-private/caja-query.c
+++ b/libcaja-private/caja-query.c
@@ -335,11 +335,6 @@ caja_query_parse_xml (char *xml, gsize xml_len)
ParserInfo info = { NULL };
GMarkupParseContext *ctx;
- if (xml_len == -1)
- {
- xml_len = strlen (xml);
- }
-
info.query = caja_query_new ();
info.in_text = FALSE;