aboutsummaryrefslogtreecommitdiff
path: root/unused.c
diff options
context:
space:
mode:
authordam <dam@gudinoff>2024-05-29 12:50:48 +0100
committerdam <dam@gudinoff>2024-05-29 12:50:48 +0100
commit986c0ca11d45e83e97479fcfad5facd1e56b0beb (patch)
tree8576d455c6748a38e81787b308fb8cbbe1ad7b89 /unused.c
parent393e5a926cd105c4a2f902824a233cc41af91198 (diff)
parentec706533ca26d49670adb97617df0d565528e395 (diff)
downloadtask-time-tracker-2.0.tar.zst
task-time-tracker-2.0.zip
Merge with jai-prototypev2.0
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;