From ca1ce00854970b65b05da33de23799d9e0dd3e7f Mon Sep 17 00:00:00 2001 From: Po Lu Date: Thu, 29 Sep 2022 09:36:13 +0800 Subject: [PATCH] Pacify compiler warning in xterm.c * src/xterm.c (handle_one_xevent): Mark gen_help_time UNINIT. Reported by Lars Ingebrigtsen . --- src/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index 198c8164716..cb5d540dd3f 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -17699,7 +17699,7 @@ handle_one_xevent (struct x_display_info *dpyinfo, int do_help = 0; #ifdef HAVE_XINPUT2 struct xi_device_t *gen_help_device; - Time gen_help_time; + Time gen_help_time UNINIT; #endif ptrdiff_t nbytes = 0; struct frame *any, *f = NULL; -- 2.39.2