summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-query.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-19 23:34:14 +0100
committerLuke from DC <[email protected]>2022-02-09 04:03:59 +0000
commitb6d46039be75bd2b868ee6c32b091a1e37720a20 (patch)
treefe11a75d22da7ca239204f000c33b2338cc07419 /libcaja-private/caja-query.c
parent97b61e663e47e6bd6ee6ff460895a7370b3c6159 (diff)
downloadcaja-b6d46039be75bd2b868ee6c32b091a1e37720a20.tar.bz2
caja-b6d46039be75bd2b868ee6c32b091a1e37720a20.tar.xz
Fix some -Wsign-compare warnings
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;