Fix some warnings

This commit is contained in:
Megamouse 2025-02-02 16:07:19 +01:00
parent cfd571cfc2
commit 3187dc816e
5 changed files with 6 additions and 5 deletions

View file

@ -636,7 +636,7 @@ jit_compiler::jit_compiler(const std::unordered_map<std::string, u64>& _link, co
: m_context(new llvm::LLVMContext)
, m_cpu(cpu(_cpu))
{
static const bool s_install_llvm_error_handler = []()
[[maybe_unused]] static const bool s_install_llvm_error_handler = []()
{
llvm::remove_fatal_error_handler();
llvm::install_fatal_error_handler([](void*, const char* msg, bool)