mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 06:36:24 +00:00
Initialize a couple of local vars
This commit is contained in:
parent
199ee20adb
commit
a9f265e8b7
1 changed files with 2 additions and 2 deletions
4
glfw/wl_window.c
vendored
4
glfw/wl_window.c
vendored
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue