HomeClusterLabs Projects

Refactor: tools: Clean up crm_diff.c:apply_patchset()
18a99acce25bUnpublished

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: tools: Clean up crm_diff.c:apply_patchset()

We don't do anything with input afterward, and this is static for a CLI
tool, so no need to make a copy.

Don't bother adding doxygen. We're about to drop this function. I'm
doing it in two steps to clarify what it's doing and that it's no longer
worth functionizing.

Also NULL-check digest before using it in crm_strdup_printf() in
pcmk__digest_xml().

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

Details

Provenance
nrwahl2Authored on Mar 18 2025, 12:00 AM

Event Timeline

Commit No Longer Exists

This commit no longer exists in the repository.