HomeClusterLabs Projects

Fix: libcrmcommon: Use const for xmlCtxtGetLastError()

Description

Fix: libcrmcommon: Use const for xmlCtxtGetLastError()

Libxml v2.12 makes xmlCtxtGetLastError() return a const value. We get a
compiler warning if we assign it to a non-const object.

Fixes T719
Fixes CLBZ#5530

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

Details

Provenance
nrwahl2Authored on Nov 21 2023, 3:26 AM
Parents
rP2a17e404a93d: Fix: libcrmcommon: Drop deprecated libxml2 symbols
Branches
Unknown
Tags
Unknown
Tasks
T719: Pacemaker fails to compile using libxml-2.12.0