HomeClusterLabs Projects

Refactor: fencing,libcrmcommon,libpengine: remove dead code

Description

Refactor: fencing,libcrmcommon,libpengine: remove dead code

In fencing, the apparently dead code was addressed by fixing
an erroneous test condition.

In libcrmcommon, the dead code (an unreachable switch default case)
was removed by refactoring duplicated code into a new private function.

Makes coverity happy.

Details

Provenance
kgaillotAuthored on Sep 16 2015, 5:17 PM
Parents
rP44688f151dce: Refactor: libcrmcommon: convert crm_element_name() from macro to inline function
Branches
Unknown
Tags
Unknown

Event Timeline