From 1a580b1967244e16d37547674a64654e11d1afac Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 30 May 2008 22:10:06 -0400 Subject: [PATCH] - Removed unnecessary TODO items from the source code. --- src/TDB.cpp | 1 - src/Table.cpp | 3 +-- src/task.cpp | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/TDB.cpp b/src/TDB.cpp index 7756ae79d..890c94144 100644 --- a/src/TDB.cpp +++ b/src/TDB.cpp @@ -243,7 +243,6 @@ bool TDB::addT (const T& t) const std::vector 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) diff --git a/src/Table.cpp b/src/Table.cpp index e8d794802..8cf403582 100644 --- a/src/Table.cpp +++ b/src/Table.cpp @@ -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; */ diff --git a/src/task.cpp b/src/task.cpp index 3fe47e9d3..aae937af5 100644 --- a/src/task.cpp +++ b/src/task.cpp @@ -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