HomeClusterLabs Projects

Fix: libcrmservice: Enclose dup_file_path() in SUPPORT_NAGIOS guard

Description

Fix: libcrmservice: Enclose dup_file_path() in SUPPORT_NAGIOS guard

This function is only called inside a SUPPORT_NAGIOS guard. So if
Pacemaker is compiled with Nagios disabled, the build fails due to a
"defined but not used" error.

If we call the function somewhere else later, we can unguard it.

Signed-off-by: Reid Wahl <nrwahl@protonmail.com>

Details

Provenance
nrwahl2Authored on Mar 1 2021, 12:10 AM
Parents
rPbb4dbfc13048: Merge pull request #2312 from kgaillot/versions
Branches
Unknown
Tags
Unknown

Event Timeline