aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2016-11-27 23:15:12 -0800
committerPaul Eggert2016-11-27 23:15:51 -0800
commitd020ff3eab01f9683485b35c0fc8b17708e9a6d1 (patch)
treee9915bbce4e013baeac50392e031008944f27bcc
parent43ec6efa2b41b43a2e55be16434f64bba644271e (diff)
downloademacs-d020ff3eab01f9683485b35c0fc8b17708e9a6d1.tar.gz
emacs-d020ff3eab01f9683485b35c0fc8b17708e9a6d1.zip
Pacify gcc -Wswitch.
* src/keyboard.c (kbd_buffer_store_buffered_event): Move initialization into default case.
-rw-r--r--src/keyboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index dadc3ac2d7b..e70140ca375 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -3567,7 +3567,7 @@ kbd_buffer_store_buffered_event (union buffered_input_event *event,
3567#endif /* subprocesses */ 3567#endif /* subprocesses */
3568 } 3568 }
3569 3569
3570 Lisp_Object ignore_event = Qnil; 3570 Lisp_Object ignore_event;
3571 3571
3572 switch (event->kind) 3572 switch (event->kind)
3573 { 3573 {
@@ -3577,6 +3577,7 @@ kbd_buffer_store_buffered_event (union buffered_input_event *event,
3577 case ICONIFY_EVENT: ignore_event = Qiconify_frame; break; 3577 case ICONIFY_EVENT: ignore_event = Qiconify_frame; break;
3578 case DEICONIFY_EVENT: ignore_event = Qmake_frame_visible; break; 3578 case DEICONIFY_EVENT: ignore_event = Qmake_frame_visible; break;
3579 case SELECTION_REQUEST_EVENT: ignore_event = Qselection_request; break; 3579 case SELECTION_REQUEST_EVENT: ignore_event = Qselection_request; break;
3580 default: ignore_event = Qnil; break;
3580 } 3581 }
3581 3582
3582 /* If we're inside while-no-input, and this event qualifies 3583 /* If we're inside while-no-input, and this event qualifies