Add FC_UNUSED to FC_ASSERT_STATIC macro to avoid compiler warning
This commit is contained in:
parent
cbf06d7d3c
commit
1162515a98
|
@ -86,7 +86,7 @@ extern pfnSHGetFolderPathA pSHGetFolderPathA;
|
|||
#define FC_DBG_CONFIG 1024
|
||||
#define FC_DBG_LANGSET 2048
|
||||
|
||||
#define _FC_ASSERT_STATIC1(_line, _cond) typedef int _static_assert_on_line_##_line##_failed[(_cond)?1:-1]
|
||||
#define _FC_ASSERT_STATIC1(_line, _cond) typedef int _static_assert_on_line_##_line##_failed[(_cond)?1:-1] FC_UNUSED
|
||||
#define _FC_ASSERT_STATIC0(_line, _cond) _FC_ASSERT_STATIC1 (_line, (_cond))
|
||||
#define FC_ASSERT_STATIC(_cond) _FC_ASSERT_STATIC0 (__LINE__, (_cond))
|
||||
|
||||
|
|
Loading…
Reference in New Issue