[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master ca1ce00854 2/2: Pacify compiler warning in xterm.c
From: |
Po Lu |
Subject: |
master ca1ce00854 2/2: Pacify compiler warning in xterm.c |
Date: |
Wed, 28 Sep 2022 21:37:38 -0400 (EDT) |
branch: master
commit ca1ce00854970b65b05da33de23799d9e0dd3e7f
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Pacify compiler warning in xterm.c
* src/xterm.c (handle_one_xevent): Mark gen_help_time UNINIT.
Reported by Lars Ingebrigtsen <larsi@gnus.org>.
---
src/xterm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xterm.c b/src/xterm.c
index 198c816471..cb5d540dd3 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;