Unused macro

This commit is contained in:
2025-10-06 18:49:51 -05:00
parent a1a682c09b
commit 1c8ff7eef2
2 changed files with 2 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
#define EXCEPT_INCLUDED
#include <setjmp.h>
#define UNUSED(x) (void)(x)
struct Exception {
const char *reason;

View File

@@ -26,5 +26,5 @@ void except_raise(const Exception *e, const char *file,int line) {
}
void asserted(int e) {
ASSERTED(e);
(void)e;
UNUSED(e);
}