HomeClusterLabs Projects

Refactor: libcrmcommon: Some best practices in mark_xml_changes()
0b204ccaf204Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or 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

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.