minor edit to type checking macro to avoid clangs static checker tagging the var as possibly NULL.
This commit is contained in:
@@ -130,7 +130,7 @@
|
||||
|
||||
/* can be used in simple macros */
|
||||
#define CHECK_TYPE_INLINE(val, type) \
|
||||
((void)(((type *)0) == (val)))
|
||||
((void)(((type *)0) != (val)))
|
||||
|
||||
#ifndef SWAP
|
||||
# define SWAP(type, a, b) { \
|
||||
|
||||
Reference in New Issue
Block a user