Commit 2e60429b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove unused variable

parent 4b729a7d
...@@ -98,7 +98,6 @@ QList<QDate> KOGlobals::workDays(const QDate &startDate, ...@@ -98,7 +98,6 @@ QList<QDate> KOGlobals::workDays(const QDate &startDate,
const KHolidays::Holiday::List list = mHolidays->holidays(startDate, endDate); const KHolidays::Holiday::List list = mHolidays->holidays(startDate, endDate);
for (int i = 0; i < list.count(); ++i) { for (int i = 0; i < list.count(); ++i) {
const KHolidays::Holiday &h = list.at(i); const KHolidays::Holiday &h = list.at(i);
const QString dateString = h.observedStartDate().toString();
if (h.dayType() == KHolidays::Holiday::NonWorkday) { if (h.dayType() == KHolidays::Holiday::NonWorkday) {
result.removeAll(h.observedStartDate()); result.removeAll(h.observedStartDate());
} }
......
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