HomeClusterLabs Projects

Refactor: fencer: avoid obscuring a variable

Description

Refactor: fencer: avoid obscuring a variable

handle_request() declared a xmlNode *reply variable, and then one of its "if"
blocks defined another one, obscuring the first. Drop the first declaration,
and instead move it to the one other place that needed it.

Also remove a redundant assertion.

Details

Provenance
kgaillotAuthored on Nov 18 2021, 1:33 PM
Parents
rPec60f014b5a8: Low: fencer: handle malformed topology level removal requests better
Branches
Unknown
Tags
Unknown

Event Timeline