Fix unused variable warning on Windows with WITH_INPUT_IME disabled

This commit is contained in:
Julian Eisel 2020-09-02 17:32:58 +02:00
parent c992fd3a3c
commit 4330f147d0

@ -1305,7 +1305,9 @@ LRESULT WINAPI GHOST_SystemWin32::s_wndProc(HWND hwnd, UINT msg, WPARAM wParam,
LRESULT lResult = 0;
GHOST_SystemWin32 *system = (GHOST_SystemWin32 *)getSystem();
#ifdef WITH_INPUT_IME
GHOST_EventManager *eventManager = system->getEventManager();
#endif
GHOST_ASSERT(system, "GHOST_SystemWin32::s_wndProc(): system not initialized");
if (hwnd) {