From 3733b5064e1820dc8517fedba2b34bfbdef569ab Mon Sep 17 00:00:00 2001 From: ocornut Date: Fri, 17 Nov 2023 12:28:25 +0100 Subject: [PATCH] Backends: SDL3: Fixed unused variable warning on master on some targets. (#7000) --- backends/imgui_impl_sdl3.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/backends/imgui_impl_sdl3.cpp b/backends/imgui_impl_sdl3.cpp index 82d1d355..4d78bc46 100644 --- a/backends/imgui_impl_sdl3.cpp +++ b/backends/imgui_impl_sdl3.cpp @@ -336,6 +336,7 @@ bool ImGui_ImplSDL3_ProcessEvent(const SDL_Event* event) static void ImGui_ImplSDL3_SetupPlatformHandles(ImGuiViewport* viewport, SDL_Window* window) { + IM_UNUSED(window); viewport->PlatformHandleRaw = nullptr; #if defined(__WIN32__) && !defined(__WINRT__) viewport->PlatformHandleRaw = (HWND)SDL_GetProperty(SDL_GetWindowProperties(window), "SDL.window.win32.hwnd", NULL);