emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 89d64fc: Pacify GCC 10.3 -Wmaybe-uninitialized


From: Paul Eggert
Subject: emacs-28 89d64fc: Pacify GCC 10.3 -Wmaybe-uninitialized
Date: Thu, 7 Oct 2021 16:10:02 -0400 (EDT)

branch: emacs-28
commit 89d64fca75557b3006532412d8c84885d5a6a873
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>

    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.
---
 src/term.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/term.c b/src/term.c
index 0858f81..6f0b827 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;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]