1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-12 09:28:24 +00:00

Pacify GCC 10.3 -Wmaybe-uninitialized

Problem reported by Basil L. Contovounesios (Bug#51075).
* src/term.c (encode_terminal_code):
Add an UNINIT to pacify GCC 10 bug.
This commit is contained in:
Paul Eggert 2021-10-07 13:09:19 -07:00
parent bb8ef1aa30
commit 89d64fca75

View File

@ -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;