From 602dbdb9f67983e0827f20a412a847ae8713863f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 12 Dec 2020 21:10:28 +0100 Subject: [PATCH] =?UTF-8?q?input:=20make=20sure=20=E2=80=98surf=5Fkind?= =?UTF-8?q?=E2=80=99=20is=20not=20uninitialized?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input.c b/input.c index 38271d3b..2c858bc6 100644 --- a/input.c +++ b/input.c @@ -1516,7 +1516,7 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer, assert(term != NULL); - enum term_surface surf_kind; + enum term_surface surf_kind = TERM_SURF_NONE; bool send_to_client = false; if (state == WL_POINTER_BUTTON_STATE_PRESSED) {