Remove trailing ';' on macros.
Spotted by: antoine
This commit is contained in:
parent
64b6524153
commit
d44989c323
@ -55,12 +55,12 @@
|
||||
(to) = (from); \
|
||||
if ((to) != NULL) \
|
||||
CHECK_OBJ((to), (type_magic)); \
|
||||
} while (0);
|
||||
} while (0)
|
||||
|
||||
#define CAST_OBJ_NOTNULL(to, from, type_magic) \
|
||||
do { \
|
||||
(to) = (from); \
|
||||
assert((to) != NULL); \
|
||||
CHECK_OBJ((to), (type_magic)); \
|
||||
} while (0);
|
||||
} while (0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user