From 579b4f3f555fb53eec0018b1e289db710484ff55 Mon Sep 17 00:00:00 2001 From: jordi fita mas Date: Fri, 24 Jan 2025 15:52:25 +0100 Subject: [PATCH] Remove unused variable from TimelineModel::indexesOf --- src/timelinemodel.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/timelinemodel.cpp b/src/timelinemodel.cpp index 2566fa5..3c395c2 100644 --- a/src/timelinemodel.cpp +++ b/src/timelinemodel.cpp @@ -25,7 +25,6 @@ std::pair TimelineModel::indexesOf(QDate from, QDate to) c while (begin > 0) { --begin; - const Item *item = m_items.at(begin); if (m_items.at(begin)->departure() < from) { ++begin; break;