HomeClusterLabs Projects

Refactor: libcrmcommon: add pcmk__assert()

Description

Refactor: libcrmcommon: add pcmk__assert()

This will be used internally instead of CRM_ASSERT().

CRM_ASSERT() wraps crm_abort(). With the argument values it uses,
crm_abort() will always abort, but static analysis has trouble
understanding that. The new macro will help avoid false positives.

Details

Provenance
kgaillotAuthored on Mon, Sep 23, 6:04 PM
Parents
rP93208e6d3709: Refactor: libcrmcommon: expose abort_as()
Branches
Unknown
Tags
Unknown