Pacify gcc -Wmaybe-uninitialized without X11-XCB

I ran into this problem on Ubuntu 18.04.1 LTS.
* src/xterm.c (get_current_wm_state) [!USE_XCB]:
Mark reply_data as UNINIT here too.
This commit is contained in:
Paul Eggert 2018-11-11 10:01:40 -08:00
parent 2917238758
commit b87c874aa1

View file

@ -10644,7 +10644,7 @@ get_current_wm_state (struct frame *f,
int rc, actual_format;
Atom actual_type;
unsigned char *tmp_data = NULL;
Atom *reply_data;
Atom *reply_data UNINIT;
#endif
*sticky = false;