]> git.eshelyaron.com Git - emacs.git/commit
Pacify GCC 12 in x_get_current_wm_state
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 31 May 2022 08:19:32 +0000 (01:19 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 31 May 2022 08:26:47 +0000 (01:26 -0700)
commita55a0483c939b7e0cc8b85d96a2fe8ac3fc6fb41
treed9ee8277d474de14e0a379053b9dcff85876f04e
parent0614e0f3e9e1b8e10463f6e1e470a82585b2f7c0
Pacify GCC 12 in x_get_current_wm_state

* src/xterm.c (x_get_current_wm_state): When lint checking,
initialize reply_data to a non-null dummy value instead of to a
null one.  This pacifies GCC 12 -Wanalyzer-null-dereference.
src/xterm.c