mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Metrics Trends - Remove unused plotData variable
Not used anymore after 605cbe0285
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user