From 1ca6928c843fcbbaa35a7a947f905ca287c5c2fb Mon Sep 17 00:00:00 2001 From: "Basil L. Contovounesios" Date: Fri, 21 Jan 2022 15:26:57 +0200 Subject: [PATCH] Fix initialization of poll_timer_time * src/keyboard.c (syms_of_keyboard): Variable poll_timer_time is declared only under POLL_FOR_INPUT, so guard its initialization accordingly. --- src/keyboard.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/keyboard.c b/src/keyboard.c index 6f1614a7df..a18664f78a 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -12082,8 +12082,10 @@ syms_of_keyboard (void) help_form_saved_window_configs = Qnil; staticpro (&help_form_saved_window_configs); +#ifdef POLL_FOR_INPUT poll_timer_time = Qnil; staticpro (&poll_timer_time); +#endif /* POLL_FOR_INPUT */ defsubr (&Scurrent_idle_time); defsubr (&Sevent_symbol_parse_modifiers); -- 2.34.1