remove outdated TODO comments

This commit is contained in:
2025-08-23 23:12:55 +02:00
parent 20ec45f230
commit 8cd29225d1

View File

@@ -129,7 +129,6 @@ MALLOC static void *nbt_procarr(const u8 *restrict buf, i32 nmem, uint size) {
return ptr; return ptr;
} }
// TODO: not actually doing anything
/* readies the output data for export, returns the new buffer position, or `NULL` upon an error (may be out of bounds) */ /* readies the output data for export, returns the new buffer position, or `NULL` upon an error (may be out of bounds) */
const u8 *nbt_proctag(const u8 *restrict buf, u16 slen, void *restrict out) { const u8 *nbt_proctag(const u8 *restrict buf, u16 slen, void *restrict out) {
const u8 *ptr = buf + 3 + slen; const u8 *ptr = buf + 3 + slen;
@@ -154,7 +153,7 @@ const u8 *nbt_proctag(const u8 *restrict buf, u16 slen, void *restrict out) {
return NULL; return NULL;
} }
return ptr; // TODO: return end of array return ptr;
} }
struct nbt_procdat nbt_initproc(struct nbt_path const *restrict pats, uint npats) { struct nbt_procdat nbt_initproc(struct nbt_path const *restrict pats, uint npats) {