提交 98237f59 authored 作者: Michael Jerris's avatar Michael Jerris

fix mod_basic clang build warning, we don't need to declare var we don't use on…

fix mod_basic clang build warning, we don't need to declare var we don't use on this side of the ifdef
上级 03844dcb
......@@ -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);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论