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
@@ -63,7 +63,7 @@ void print_stack_trace()
|
||||
|
||||
void _cdecl error(int signal)
|
||||
{
|
||||
UNUSED(signal);
|
||||
snmalloc::UNUSED(signal);
|
||||
puts("*****ABORT******");
|
||||
|
||||
print_stack_trace();
|
||||
@@ -73,7 +73,7 @@ void _cdecl error(int signal)
|
||||
|
||||
LONG WINAPI VectoredHandler(struct _EXCEPTION_POINTERS* ExceptionInfo)
|
||||
{
|
||||
UNUSED(ExceptionInfo);
|
||||
snmalloc::UNUSED(ExceptionInfo);
|
||||
|
||||
puts("*****UNHANDLED EXCEPTION******");
|
||||
|
||||
@@ -100,7 +100,7 @@ void setup()
|
||||
# include <signal.h>
|
||||
void error_handle(int signal)
|
||||
{
|
||||
UNUSED(signal);
|
||||
snmalloc::UNUSED(signal);
|
||||
snmalloc::error("Seg Fault");
|
||||
_exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user