mirror of https://github.com/Icinga/icinga2.git
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);
|
||||
BOOST_FOREACH(const Dictionary::Pair& kv, ranges) {
|
||||
tm rangeref;
|
||||
|
||||
Dictionary::Ptr segment = LegacyTimePeriod::FindNextSegment(kv.first, kv.second, &reference);
|
||||
|
||||
if (!segment)
|
||||
|
|
Loading…
Reference in New Issue