Pacify GCC when configured --with-x-toolkit=no
commite470d16448999e79df048b92ae1db4acaafb306f
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 12 Nov 2017 06:59:41 +0000 (11 22:59 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 12 Nov 2017 07:00:31 +0000 (11 23:00 -0800)
treee7dc52f803f57a8745c6566c2bc0a87da2defd92
parent49450d095120f98cc1a42f026fda86500d4ef744
Pacify GCC when configured --with-x-toolkit=no

Without these changes, Emacs does not build on Fedora 26 x86-64
when configured --with-x-toolkit=no --enable-gcc-warnings.
* oldXMenu/Activate.c (XMenuActivate): Add FALLTHROUGH.
* src/xterm.c (x_dispatch_event): Define only if
USE_X_TOOLKIT || USE_MOTIF || USE_GTK.
oldXMenu/Activate.c
src/xterm.c