Metrics Trends - Remove unused plotData variable

Not used anymore after 605cbe0285
This commit is contained in:
Alejandro Martinez
2025-07-23 10:15:29 -03:00
parent 605cbe0285
commit 7fad817e4e

View File

@@ -3475,8 +3475,6 @@ LTMPlot::createPMCData(Context *context, LTMSettings *settings, MetricDetail met
for (QDate date=settings->start.date(); date <= settings->end.date(); date = date.addDays(1)) {
bool plotData = true;
// day we are on
int currentDay = groupForDate(date, settings->groupBy);
@@ -3525,7 +3523,7 @@ LTMPlot::createPMCData(Context *context, LTMSettings *settings, MetricDetail met
break;
}
if (plotData && (value || wantZero)) {
if (value || wantZero) {
unsigned long seconds = 1;
if (currentDay > lastDay) {
if (lastDay && wantZero) {