HomeClusterLabs Projects

Refactor: libcrmcommon: Drop xmlSetTreeDoc() from copy_xml()

Description

Refactor: libcrmcommon: Drop xmlSetTreeDoc() from copy_xml()

xmlDocSetRootElement() includes a call to xmlSetTreeDoc(). The explicit
call is redundant.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Jun 8 2023, 3:53 AM
Parents
rPafbe952ec6c6: Refactor: libcrmcommon: Skip unnecessary doc in replace_xml_child()
Branches
Unknown
Tags
Unknown