From: Peter Krempa <[email protected]>

'xmlIndentTreeOutput' is now deprecated by libxml2.

The default value set by libxml2 is '1', and the vbox driver resides
only inside the standalone daemon where the value will not be changed by
us thus there's no observable change in behaviour.

Signed-off-by: Peter Krempa <[email protected]>
---
 src/vbox/vbox_snapshot_conf.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/vbox/vbox_snapshot_conf.c b/src/vbox/vbox_snapshot_conf.c
index b424648368..ff81cd0062 100644
--- a/src/vbox/vbox_snapshot_conf.c
+++ b/src/vbox/vbox_snapshot_conf.c
@@ -943,9 +943,6 @@ virVBoxSnapshotConfSaveVboxFile(virVBoxSnapshotConfMachine 
*machine,
     g_auto(GStrv) secondRegex = NULL;
     int secondRegexResult = 0;
     const int parseFlags = XML_PARSE_NONET | XML_PARSE_NOBLANKS;
-    int oldIndentTreeOutput = xmlIndentTreeOutput;
-
-    xmlIndentTreeOutput = 1;

     if (machine == NULL) {
         virReportError(VIR_ERR_INTERNAL_ERROR, "%s",
@@ -1127,8 +1124,6 @@ 
virVBoxSnapshotConfSaveVboxFile(virVBoxSnapshotConfMachine *machine,
     ret = 0;

  cleanup:
-    xmlIndentTreeOutput = oldIndentTreeOutput;
-
     VIR_FREE(currentSnapshot);
     VIR_FREE(timeStamp);

-- 
2.51.1

Reply via email to