From 0158611e08cebd24518b1439904905d5dacbdf35 Mon Sep 17 00:00:00 2001 From: hachem Date: Mon, 24 Aug 2026 19:07:35 +0200 Subject: [chore]: -Wall -Wextra -Werror -pedantic --- src/core/window.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/window.cpp') diff --git a/src/core/window.cpp b/src/core/window.cpp index 085d7bc..9a8d1ec 100644 --- a/src/core/window.cpp +++ b/src/core/window.cpp @@ -170,8 +170,8 @@ namespace Donut win->m_event_handler.on_event(event); } - auto Window::glfw_key_callback(GLFWwindow* window, int key, int scancode, - int action, int mods) -> void + auto Window::glfw_key_callback(GLFWwindow* window, int key, int /*scancode*/, + int action, int /*mods*/) -> void { Window* win = static_cast(glfwGetWindowUserPointer(window)); @@ -203,7 +203,7 @@ namespace Donut } auto Window::glfw_mouse_button_callback(GLFWwindow* window, int button, - int action, int mods) -> void + int action, int /*mods*/) -> void { Window* win = static_cast(glfwGetWindowUserPointer(window)); -- cgit v1.3