HomeClusterLabs Projects

Refactor: libcrmcommon: Some best practices in mark_xml_changes()

Description

Refactor: libcrmcommon: Some best practices in mark_xml_changes()

Improve variable names and scope, improve comments, use parallel
structure (using for-loop and checking non-NULL condition first), assert
on error.

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

Details

Provenance
nrwahl2Authored on Mar 13 2025, 11:26 PM
Parents
rP1855585c3079: Refactor: libcrmcommon: Drop redundant check from mark_child_deleted()
Branches
Unknown
Tags
Unknown