HomeClusterLabs Projects

Refactor: libcrmcommon: use value *after* checking it for NULL

Description

Refactor: libcrmcommon: use value *after* checking it for NULL

Previously, if crm_element_value_int() or crm_element_value_ms() were given a
NULL pointer, they would log an assert in crm_element_value() and then again
when checking for NULL.

Details

Provenance
kgaillotAuthored on Oct 8 2018, 11:27 AM
Parents
rP86fd200c71b1: Refactor: libcrmcommon: add function to parse long long from string
Branches
Unknown
Tags
Unknown

Event Timeline