[evolution-data-server] Suppress libxml2 warnings when parsing data with e_xml_parse_data()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Suppress libxml2 warnings when parsing data with e_xml_parse_data()
- Date: Wed, 24 Oct 2018 15:55:15 +0000 (UTC)
commit e9becbf45db5d9a6cbf40e42a100f5225cb65e39
Author: Milan Crha <mcrha redhat com>
Date: Wed Oct 24 17:55:49 2018 +0200
Suppress libxml2 warnings when parsing data with e_xml_parse_data()
src/libedataserver/e-xml-utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libedataserver/e-xml-utils.c b/src/libedataserver/e-xml-utils.c
index 068208cda..cf4af1615 100644
--- a/src/libedataserver/e-xml-utils.c
+++ b/src/libedataserver/e-xml-utils.c
@@ -222,7 +222,7 @@ e_xml_parse_data (gconstpointer data,
g_return_val_if_fail (data != NULL, NULL);
g_return_val_if_fail (length > 0, NULL);
- return xmlReadMemory (data, length, "data.xml", NULL, 0);
+ return xmlReadMemory (data, length, "data.xml", NULL, XML_PARSE_NOWARNING);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]