diff --git a/glfw/wl_init.c b/glfw/wl_init.c index 70f9eed7a..cd7fa297c 100644 --- a/glfw/wl_init.c +++ b/glfw/wl_init.c @@ -164,7 +164,7 @@ static void pointerHandleMotion(void* data, wl_fixed_t sy) { _GLFWwindow* window = _glfw.wl.pointerFocus; - const char* cursorName; + const char* cursorName = NULL; if (!window) return;