From: Chuck Lever <chuck.lever@xxxxxxxxxx> Though it doesn't seem to be marked deprecated, xmlIndentTreeOutput does not appear in recent versions of libxml2. Since xmlIndentTreeOutput = 1; should be the default behavior now, we can remove this statement without a behavior change. Signed-off-by: Chuck Lever <chuck.lever@xxxxxxxxxx> --- support/junction/xml.c | 1 - 1 file changed, 1 deletion(-) diff --git a/support/junction/xml.c b/support/junction/xml.c index ec9586528cc9..aef1cbbd74d3 100644 --- a/support/junction/xml.c +++ b/support/junction/xml.c @@ -387,7 +387,6 @@ junction_xml_write(const char *pathname, const char *name, xmlDocPtr doc) return retval; retval = FEDFS_ERR_SVRFAULT; - xmlIndentTreeOutput = 1; xmlDocDumpFormatMemoryEnc(doc, &buf, &len, "UTF-8", 1); if (len < 0) goto out;