Remove unused variables in task history implementation (#3564)
This commit is contained in:
@@ -97,20 +97,12 @@ void CmdHistoryBase<HistoryStrategy>::outputGraphical (std::string& output)
|
|||||||
{
|
{
|
||||||
unsigned int leftOffset = (widthOfBar * maxAddedLine) / maxLine;
|
unsigned int leftOffset = (widthOfBar * maxAddedLine) / maxLine;
|
||||||
|
|
||||||
auto totalAdded = 0;
|
|
||||||
auto totalCompleted = 0;
|
|
||||||
auto totalDeleted = 0;
|
|
||||||
|
|
||||||
time_t priorTime = 0;
|
time_t priorTime = 0;
|
||||||
auto row = 0;
|
auto row = 0;
|
||||||
for (auto& i : groups)
|
for (auto& i : groups)
|
||||||
{
|
{
|
||||||
row = view.addRow ();
|
row = view.addRow ();
|
||||||
|
|
||||||
totalAdded += addedGroup[i.first];
|
|
||||||
totalCompleted += completedGroup[i.first];
|
|
||||||
totalDeleted += deletedGroup[i.first];
|
|
||||||
|
|
||||||
HistoryStrategy::insertRowDate (view, row, i.first, priorTime);
|
HistoryStrategy::insertRowDate (view, row, i.first, priorTime);
|
||||||
priorTime = i.first;
|
priorTime = i.first;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user