mirror of
https://github.com/bkaradzic/bimg.git
synced 2026-02-17 12:42:35 +01:00
Replaced sizeof(exp) with a more static analysis frendly implementation. (#102)
This commit is contained in:
committed by
GitHub
parent
a0204c79f9
commit
0571f0abad
2
3rdparty/nvtt/nvcore/debug.h
vendored
2
3rdparty/nvtt/nvcore/debug.h
vendored
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
#define nvNoAssert(exp) \
|
#define nvNoAssert(exp) \
|
||||||
NV_MULTI_LINE_MACRO_BEGIN \
|
NV_MULTI_LINE_MACRO_BEGIN \
|
||||||
(void)sizeof(exp); \
|
(void)(false && (exp)); \
|
||||||
NV_MULTI_LINE_MACRO_END
|
NV_MULTI_LINE_MACRO_END
|
||||||
|
|
||||||
#if NV_NO_ASSERT
|
#if NV_NO_ASSERT
|
||||||
|
|||||||
Reference in New Issue
Block a user