diff options
| author | Paul Eggert | 2018-11-11 10:01:40 -0800 |
|---|---|---|
| committer | Paul Eggert | 2018-11-11 10:03:32 -0800 |
| commit | b87c874aa1016939ccbee4cd3bd1384726cb2220 (patch) | |
| tree | 6ed05e55d81b87c771459373dc264476bcfc8cd1 /src | |
| parent | 29172387581b3390e4659c18514eaa1e0f45b0c5 (diff) | |
| download | emacs-b87c874aa1016939ccbee4cd3bd1384726cb2220.tar.gz emacs-b87c874aa1016939ccbee4cd3bd1384726cb2220.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index f8ea787e8df..3a7e31e7129 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -10644,7 +10644,7 @@ get_current_wm_state (struct frame *f, | |||
| 10644 | int rc, actual_format; | 10644 | int rc, actual_format; |
| 10645 | Atom actual_type; | 10645 | Atom actual_type; |
| 10646 | unsigned char *tmp_data = NULL; | 10646 | unsigned char *tmp_data = NULL; |
| 10647 | Atom *reply_data; | 10647 | Atom *reply_data UNINIT; |
| 10648 | #endif | 10648 | #endif |
| 10649 | 10649 | ||
| 10650 | *sticky = false; | 10650 | *sticky = false; |