HomeClusterLabs Projects

Refactor: libcrmcommon: Clean up add_schema a bit.

Description

Refactor: libcrmcommon: Clean up add_schema a bit.

  • Use true/false instead of TRUE/FALSE.
  • Call CRM_ASSERT after all the strdups.
  • There's no need to have a for loop over a two element list. If the version number struct ever changes, plenty of other places will have to be changed as well so this isn't saving us much.

Details

Provenance
clumensAuthored on Oct 25 2023, 2:36 PM
Parents
rP91ef9fac634a: Refactor: libcrmcommon: Break schema freeing out into a function.
Branches
Unknown
Tags
Unknown