projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2917238
)
Pacify gcc -Wmaybe-uninitialized without X11-XCB
author
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 11 Nov 2018 18:01:40 +0000
(10:01 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 11 Nov 2018 18:03:32 +0000
(10:03 -0800)
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.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index f8ea787e8df7891b13129132b2c9921a8e8a875b..3a7e31e7129b4a8698ed25bbf781ece1d6883b9f 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-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;