clean up unused usages (#421)
* clean up unused usages Signed-off-by: SchrodingerZhu <i@zhuyi.fan> * remove names for arg pack Signed-off-by: SchrodingerZhu <i@zhuyi.fan> * fix namespace in setup.h Signed-off-by: SchrodingerZhu <i@zhuyi.fan> * format Signed-off-by: SchrodingerZhu <i@zhuyi.fan> * set UNUSED as fast path Signed-off-by: SchrodingerZhu <i@zhuyi.fan>
This commit is contained in:
committed by
GitHub
parent
f731bc169b
commit
8e5514bd5a
@@ -27,8 +27,7 @@ using namespace snmalloc;
|
||||
|
||||
void test_limited(rlim64_t as_limit, size_t& count)
|
||||
{
|
||||
UNUSED(as_limit);
|
||||
UNUSED(count);
|
||||
UNUSED(as_limit, count);
|
||||
#if false && defined(TEST_LIMITED)
|
||||
auto pid = fork();
|
||||
if (!pid)
|
||||
@@ -490,8 +489,7 @@ int main(int argc, char** argv)
|
||||
size_t seed = opt.is<size_t>("--seed", 0);
|
||||
Virtual::systematic_bump_ptr() += seed << 17;
|
||||
#else
|
||||
UNUSED(argc);
|
||||
UNUSED(argv);
|
||||
UNUSED(argc, argv);
|
||||
#endif
|
||||
test_alloc_dealloc_64k();
|
||||
test_random_allocation();
|
||||
|
||||
Reference in New Issue
Block a user