fix mod_basic clang build warning, we don't need to declare var we don't use on this side of the ifdef
This commit is contained in:
parent
03844dcbe5
commit
98237f5962
|
@ -565,7 +565,7 @@ static void _ht_destroy(_ht_node_t* ht);
|
|||
#ifdef _MB_ENABLE_ALLOC_STAT
|
||||
static volatile size_t _mb_allocated = 0;
|
||||
#else /* _MB_ENABLE_ALLOC_STAT */
|
||||
static volatile size_t _mb_allocated = (size_t)(~0);
|
||||
//static volatile size_t _mb_allocated = (size_t)(~0);
|
||||
#endif /* _MB_ENABLE_ALLOC_STAT */
|
||||
|
||||
static void* mb_malloc(size_t s);
|
||||
|
|
Loading…
Reference in New Issue