mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Remove unused variables in task history
implementation (#3564)
This commit is contained in:
parent
4dc3093b22
commit
9dde68f918
1 changed files with 0 additions and 8 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue