HomeClusterLabs Projects

Refactor: based: Remove unnecessary nesting

Description

Refactor: based: Remove unnecessary nesting

rc is guaranteed to be pcmk_ok when we check it, so skip the if-check
for a large block in cib_process_command().

Do a few very basic cleanup tasks as well, like wrapping lines and
comparing to NULL explicitly.

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

Details

Provenance
nrwahl2Authored on Dec 1 2022, 8:44 PM
Parents
rP4b3ab0cec93d: Merge pull request #2968 from nrwahl2/nrwahl2-fixes
Branches
Unknown
Tags
Unknown