From: Paul Eggert Date: Thu, 7 Oct 2021 20:09:19 +0000 (-0700) Subject: Pacify GCC 10.3 -Wmaybe-uninitialized X-Git-Tag: emacs-28.0.90~364 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=89d64fca75557b3006532412d8c84885d5a6a873;p=emacs.git 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. --- diff --git a/src/term.c b/src/term.c index 0858f816851..6f0b827cfc8 100644 --- 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;