]> git.eshelyaron.com Git - emacs.git/commit
Pacify a gcc warning in xi_handle_focus_change
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 7 Aug 2022 15:22:46 +0000 (17:22 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 7 Aug 2022 15:22:54 +0000 (17:22 +0200)
commitaf90a31629be00d159f06c1dee0a96c69cf775ce
treeb12f301c5f28f0bf309ecb7b5ed9862f6886cfdd
parent82d22ef8db1838c84dbc512b3f1628a549559504
Pacify a gcc warning in xi_handle_focus_change

* src/xterm.c (xi_handle_focus_change): Pacify a wrong warning on
gcc (Debian 10.2.1-6).

xterm.c: In function ‘xi_handle_focus_change’:
xterm.c:12564:25: warning: ‘source’ may be used uninitialized in
this function [-Wmaybe-uninitialized]
12564 |       ie.device = source->name;
      |                   ~~~~~~^~~~~~
src/xterm.c