From da0f825e44d1cec98c8ae1d2eba3da23a240676c Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 22 Apr 2024 21:38:24 +0200 Subject: Remove TODO() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- include/macros.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') 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 # define ASSUME(p) ((p) ? (void)0 : unreachable()) -- cgit v1.2.3