mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-31 01:24:19 +02:00
Fix compiler warnings in ScheduledDowntime::FindNextSegment.
Refs #5349
This commit is contained in:
parent
65b41c51ff
commit
0b8b421323
@ -86,8 +86,6 @@ std::pair<double, double> ScheduledDowntime::FindNextSegment(void)
|
|||||||
|
|
||||||
ObjectLock olock(ranges);
|
ObjectLock olock(ranges);
|
||||||
BOOST_FOREACH(const Dictionary::Pair& kv, ranges) {
|
BOOST_FOREACH(const Dictionary::Pair& kv, ranges) {
|
||||||
tm rangeref;
|
|
||||||
|
|
||||||
Dictionary::Ptr segment = LegacyTimePeriod::FindNextSegment(kv.first, kv.second, &reference);
|
Dictionary::Ptr segment = LegacyTimePeriod::FindNextSegment(kv.first, kv.second, &reference);
|
||||||
|
|
||||||
if (!segment)
|
if (!segment)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user