]> git.eshelyaron.com Git - emacs.git/commit
Tweak x_connection_closed when I/O error
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Oct 2021 03:11:57 +0000 (20:11 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 4 Oct 2021 03:19:38 +0000 (20:19 -0700)
commite1fb731393f0f47a910836915c410989c8d06a8f
treefaf01e8e5fd9cbc63b3de7ec903c09f838f4b9bb
parent595e506c829156c72206c6db95b04c54bae1d025
Tweak x_connection_closed when I/O error

* src/xterm.c (x_connection_closed): Don’t dereference dpyinfo
in the unlikely case where it is null and ioerror is true.
This pacifies gcc 11.2.1 -Wanalyzer-null-dereference.
src/xterm.c