HomeClusterLabs Projects

Refactor: libcrmcommon: Some best practices in mark_xml_changes()
76fd2895bd7cUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

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
rPbb566e7a5bda: Refactor: libcrmcommon: Drop redundant check from mark_child_deleted()
Branches
Unknown
Tags
Unknown

Event Timeline