projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb8ef1a
)
Pacify GCC 10.3 -Wmaybe-uninitialized
author
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 7 Oct 2021 20:09:19 +0000
(13:09 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 7 Oct 2021 20:09:47 +0000
(13:09 -0700)
Problem reported by Basil L. Contovounesios (Bug#51075).
* src/term.c (encode_terminal_code):
Add an UNINIT to pacify GCC 10 bug.
src/term.c
patch
|
blob
|
history
diff --git
a/src/term.c
b/src/term.c
index 0858f816851418a0eac7ce3abf73761e0f602245..6f0b827cfc853d3d7964e8cd2539c4ecd68beec3 100644
(file)
--- a/
src/term.c
+++ b/
src/term.c
@@
-550,7
+550,7
@@
encode_terminal_code (struct glyph *src, int src_len,
if (src->type == COMPOSITE_GLYPH)
{
struct composition *cmp;
- Lisp_Object gstring;
+ Lisp_Object gstring
UNINIT
;
int i;
nbytes = buf - encode_terminal_src;