Commit 78204d74 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

fix cppcheck warning

parent 22145816
Pipeline #124897 passed with stage
in 12 minutes and 25 seconds
......@@ -127,8 +127,8 @@ bool EventDataVisitor::visit(const KCalendarCore::Incidence::Ptr &incidence, Cal
bool ok = false;
const auto list = explodeIncidenceOccurences(data, incidence, ok);
if (ok) {
for (const auto &data : list) {
insertResult(data);
for (const auto &dataCalendar : list) {
insertResult(dataCalendar);
}
}
return ok;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment