HomeClusterLabs Projects

Refactor: various: avoid setting and checking same variable in CRM_CHECK()

Description

Refactor: various: avoid setting and checking same variable in CRM_CHECK()

... to avoid any chance of side effects. Even though the current implementation
shouldn't have problems, it's safer, and makes static analysis happy.

Details

Provenance
kgaillotAuthored on Apr 4 2018, 4:52 PM
Parents
rPae63b3155bd1: Low: libcrmcommon,libstonithd: avoid resource leaks
Branches
Unknown
Tags
Unknown

Event Timeline