mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
- Removed unnecessary TODO items from the source code.
This commit is contained in:
parent
fd8f63dec6
commit
1a580b1967
3 changed files with 1 additions and 5 deletions
|
@ -243,7 +243,6 @@ bool TDB::addT (const T& t) const
|
|||
std::vector <std::string> tags;
|
||||
task.getTags (tags);
|
||||
|
||||
// TODO This logic smells funny.
|
||||
// +tag or -tag are both considered valid tags to add to a new pending task.
|
||||
// Generating an error here would not be friendly.
|
||||
for (unsigned int i = 0; i < tags.size (); ++i)
|
||||
|
|
|
@ -678,10 +678,10 @@ int Table::columnCount ()
|
|||
// - removal of redundant color codes:
|
||||
// ^[[31mName^[[0m ^[[31mValue^[[0m -> ^[[31mName Value^[[0m
|
||||
//
|
||||
// This method is a work in progress.
|
||||
void Table::optimize (std::string& output)
|
||||
{
|
||||
/*
|
||||
TODO Unoptimized length.
|
||||
int start = output.length ();
|
||||
*/
|
||||
|
||||
|
@ -694,7 +694,6 @@ void Table::optimize (std::string& output)
|
|||
}
|
||||
|
||||
/*
|
||||
TODO This code displays the % reduction of the optimize function.
|
||||
std::cout << int ((100 * (start - output.length ()) / start))
|
||||
<< "%" << std::endl;
|
||||
*/
|
||||
|
|
|
@ -2196,8 +2196,6 @@ void handleReportStats (const TDB& tdb, T& task, Config& conf)
|
|||
if (tags.size ()) ++taggedT;
|
||||
}
|
||||
|
||||
// TODO Unused feature list
|
||||
|
||||
std::cout << "Pending " << pendingT << std::endl
|
||||
<< "Completed " << completedT << std::endl
|
||||
<< "Deleted " << deletedT << std::endl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue