HomeClusterLabs Projects

Low: libcrmcommon: Check scan_ll() return value in crm_get_msec()

Description

Low: libcrmcommon: Check scan_ll() return value in crm_get_msec()

This is redundant since we already check whether the result was set to
its default value. However, Coverity complained that we checked
scan_ll()'s return value in 4 out of 5 places, so it's simplest to just
check it here too.

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

Details

Provenance
nrwahl2Authored on May 30 2024, 6:02 AM
Parents
rP6538622e26aa: Refactor: libcrmcommon: Drop unused includes from util_compat.h
Branches
Unknown
Tags
Unknown