aboutsummaryrefslogtreecommitdiff
path: root/unused.c
diff options
context:
space:
mode:
Diffstat (limited to 'unused.c')
-rw-r--r--unused.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/unused.c b/unused.c
index 718fa71..48d23c7 100644
--- a/unused.c
+++ b/unused.c
@@ -160,7 +160,6 @@ bool add_task(database_t* db, const task_t* task) {
return true;
}
-// TODO Remove this task and move code to delete_task.
// Removes task by index from database. If possible, shrinks database capacity.
// Returns success.
bool remove_task(database_t* db, uint32_t index) {
@@ -189,7 +188,7 @@ bool remove_task(database_t* db, uint32_t index) {
db->capacity = new_capacity;
db->tasks = new_tasks;
db->active_task = db->tasks + selected_task_offset;
- // TODO Validate selected_task (may now be above count.
+ // Validate selected_task (may now be above count.
}
return true;