HomeClusterLabs Projects

Fix: scheduler: Rearrange some code to make cppcheck happy.

Description

Fix: scheduler: Rearrange some code to make cppcheck happy.

With the previous code, cppcheck was throwing this error:

lib/pengine/status.c:371:0: error: failed to expand 'pe__set_working_set_flags', it is invalid to use a preprocessor directive as macro parameter [preprocessorErrorDirective]
^

Apparently it didn't like using a macro in the parameter list of another
macro.

Details

Provenance
clumensAuthored on Oct 6 2020, 2:52 PM
Parents
rP9c18565361c0: Maint: gnulib: Refresh gnulib.
Branches
Unknown
Tags
Unknown

Event Timeline