Unused macro
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define EXCEPT_INCLUDED
|
||||
|
||||
#include <setjmp.h>
|
||||
#define UNUSED(x) (void)(x)
|
||||
|
||||
struct Exception {
|
||||
const char *reason;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user