Unused macro
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
#define EXCEPT_INCLUDED
|
#define EXCEPT_INCLUDED
|
||||||
|
|
||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
|
#define UNUSED(x) (void)(x)
|
||||||
|
|
||||||
struct Exception {
|
struct Exception {
|
||||||
const char *reason;
|
const char *reason;
|
||||||
|
|||||||
@@ -26,5 +26,5 @@ void except_raise(const Exception *e, const char *file,int line) {
|
|||||||
}
|
}
|
||||||
void asserted(int e) {
|
void asserted(int e) {
|
||||||
ASSERTED(e);
|
ASSERTED(e);
|
||||||
(void)e;
|
UNUSED(e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user