Fix compiler warnings about unused args for aarch64

This commit is contained in:
kd-11 2024-08-19 22:44:32 +03:00 committed by kd-11
parent fbcd8e32b8
commit c2f5de1c55
7 changed files with 23 additions and 4 deletions

View file

@ -2310,6 +2310,10 @@ thread_base::native_entry thread_base::make_trampoline(u64(*entry)(thread_base*
c.bind(_ret);
c.add(x86::rsp, 0x28);
c.ret();
#else
UNUSED(c);
UNUSED(args);
UNUSED(entry);
#endif
});
}