From 99b90f90ac8305c3d253497cd0d1830457590cc9 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 25 Dec 2024 13:03:55 +0100 Subject: [PATCH] fix: Unused variable in wasm build --- main/gui/source/window/window.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main/gui/source/window/window.cpp b/main/gui/source/window/window.cpp index c75ed8371..f72a25ff8 100644 --- a/main/gui/source/window/window.cpp +++ b/main/gui/source/window/window.cpp @@ -906,6 +906,7 @@ namespace hex { } } #else + std::ignore = scanCode; // Emscripten doesn't support glfwGetKeyName. Just pass the value through. #endif