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:
Schrodinger ZHU Yifan
2021-11-19 21:23:39 +08:00
committed by GitHub
parent f731bc169b
commit 8e5514bd5a
14 changed files with 23 additions and 41 deletions

View File

@@ -141,9 +141,7 @@ namespace
{
if constexpr (FailFast)
{
UNUSED(ptr);
UNUSED(len);
UNUSED(msg);
UNUSED(ptr, len, msg);
SNMALLOC_FAST_FAIL();
}
else
@@ -154,9 +152,7 @@ namespace
}
else
{
UNUSED(ptr);
UNUSED(len);
UNUSED(msg);
UNUSED(ptr, len, msg);
}
}