diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-04-22 21:38:24 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-04-22 21:38:24 +0200 |
commit | da0f825e44d1cec98c8ae1d2eba3da23a240676c (patch) | |
tree | cc2be3415b5775af083b6c4d846bbeb5828578c8 /include | |
parent | d964ac38dd09efcf76fa8007c7bc357e9d9bf747 (diff) |
Remove TODO()
I realized that I can literally just call err() directly like so:
err("not implemented");
It doesn’t contain position information… but I don’t really need that.
Diffstat (limited to 'include')
-rw-r--r-- | include/macros.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/macros.h b/include/macros.h index 61f7ca3..4a8108e 100644 --- a/include/macros.h +++ b/include/macros.h @@ -11,8 +11,6 @@ #define streq(...) (!strcmp(__VA_ARGS__)) #define u8eq(...) (!u8cmp(__VA_ARGS__)) -#define TODO(s) err("%s:%s:%d: todo: %s", __FILE__, __func__, __LINE__, s) - #ifdef NDEBUG # include <stddef.h> # define ASSUME(p) ((p) ? (void)0 : unreachable()) |