1
Fork 0
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:
Daniel Bertalan 2022-05-07 17:49:44 +02:00 committed by Andreas Kling
parent cccc001ded
commit 699bd9afc6
3 changed files with 10 additions and 9 deletions

View file

@ -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;