From 5c104f8e1d161dfd2685667f534acefe73154923 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Sat, 19 Nov 2022 14:18:58 +0100 Subject: [PATCH] common linux: Fix Wunused-variable warning. --- common/Linux/LnxHostSys.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/Linux/LnxHostSys.cpp b/common/Linux/LnxHostSys.cpp index d7cdf2448e..9be82957e1 100644 --- a/common/Linux/LnxHostSys.cpp +++ b/common/Linux/LnxHostSys.cpp @@ -48,9 +48,10 @@ extern void SignalExit(int sig); static const uptr m_pagemask = getpagesize() - 1; -static struct sigaction s_old_sigsegv_action; #if defined(__APPLE__) static struct sigaction s_old_sigbus_action; +#else +static struct sigaction s_old_sigsegv_action; #endif // Linux implementation of SIGSEGV handler. Bind it using sigaction().