mirror of
https://github.com/RGBCube/serenity
synced 2025-07-08 17:37:35 +00:00
Tests: Fix new GCC 12 warnings
This commit is contained in:
parent
cccc001ded
commit
699bd9afc6
3 changed files with 10 additions and 9 deletions
|
@ -21,8 +21,7 @@ bool volatile signal_was_delivered = false;
|
|||
|
||||
static void signal_handler(int sig, siginfo_t* sig_info, void* u_context)
|
||||
{
|
||||
int x;
|
||||
stack_ptr = &x;
|
||||
stack_ptr = __builtin_frame_address(0);
|
||||
signal_was_delivered = true;
|
||||
|
||||
saved_signal = sig;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue