- Removed unnecessary TODO items from the source code.

This commit is contained in:
Paul Beckingham 2008-05-30 22:10:06 -04:00
parent fd8f63dec6
commit 1a580b1967
3 changed files with 1 additions and 5 deletions

View file

@ -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)

View file

@ -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;
*/

View file

@ -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