HomeClusterLabs Projects

Refactor: libcrmcommon: Ensure pcmk__xpath_num_results returns >= 0

Description

Refactor: libcrmcommon: Ensure pcmk__xpath_num_results returns >= 0

We could use unsigned int, but I don't want to deal with casting and
with loop counters.

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

Details

Provenance
nrwahl2Authored on Wed, Mar 19, 4:23 PM
Parents
rP15e7a52a6f53: API: libcrmcommon: Deprecate dedupXpathResults()
Branches
Unknown
Tags
Unknown