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:
parent
2917238758
commit
b87c874aa1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue