- Removed unnecessary TODO items from the source code.
This commit is contained in:
@@ -243,7 +243,6 @@ bool TDB::addT (const T& t) const
|
|||||||
std::vector <std::string> tags;
|
std::vector <std::string> tags;
|
||||||
task.getTags (tags);
|
task.getTags (tags);
|
||||||
|
|
||||||
// TODO This logic smells funny.
|
|
||||||
// +tag or -tag are both considered valid tags to add to a new pending task.
|
// +tag or -tag are both considered valid tags to add to a new pending task.
|
||||||
// Generating an error here would not be friendly.
|
// Generating an error here would not be friendly.
|
||||||
for (unsigned int i = 0; i < tags.size (); ++i)
|
for (unsigned int i = 0; i < tags.size (); ++i)
|
||||||
|
|||||||
@@ -678,10 +678,10 @@ int Table::columnCount ()
|
|||||||
// - removal of redundant color codes:
|
// - removal of redundant color codes:
|
||||||
// ^[[31mName^[[0m ^[[31mValue^[[0m -> ^[[31mName Value^[[0m
|
// ^[[31mName^[[0m ^[[31mValue^[[0m -> ^[[31mName Value^[[0m
|
||||||
//
|
//
|
||||||
|
// This method is a work in progress.
|
||||||
void Table::optimize (std::string& output)
|
void Table::optimize (std::string& output)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
TODO Unoptimized length.
|
|
||||||
int start = output.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::cout << int ((100 * (start - output.length ()) / start))
|
||||||
<< "%" << std::endl;
|
<< "%" << std::endl;
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -2196,8 +2196,6 @@ void handleReportStats (const TDB& tdb, T& task, Config& conf)
|
|||||||
if (tags.size ()) ++taggedT;
|
if (tags.size ()) ++taggedT;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO Unused feature list
|
|
||||||
|
|
||||||
std::cout << "Pending " << pendingT << std::endl
|
std::cout << "Pending " << pendingT << std::endl
|
||||||
<< "Completed " << completedT << std::endl
|
<< "Completed " << completedT << std::endl
|
||||||
<< "Deleted " << deletedT << std::endl
|
<< "Deleted " << deletedT << std::endl
|
||||||
|
|||||||
Reference in New Issue
Block a user