Initialize a couple of local vars

This commit is contained in:
Kovid Goyal 2020-06-01 20:09:07 +05:30
parent 199ee20adb
commit a9f265e8b7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

4
glfw/wl_window.c vendored
View File

@ -685,8 +685,8 @@ static bool createXdgSurface(_GLFWwindow* window)
static void
setCursorImage(_GLFWwindow* window, _GLFWcursorWayland* cursorWayland)
{
struct wl_cursor_image* image;
struct wl_buffer* buffer;
struct wl_cursor_image* image = NULL;
struct wl_buffer* buffer = NULL;
struct wl_surface* surface = _glfw.wl.cursorSurface;
const int scale = window->wl.scale;