diff options
| author | Paul Eggert | 2021-10-07 13:09:19 -0700 |
|---|---|---|
| committer | Paul Eggert | 2021-10-07 13:09:47 -0700 |
| commit | 89d64fca75557b3006532412d8c84885d5a6a873 (patch) | |
| tree | f65470f7a487618e0336324140f298dc7355c037 /src | |
| parent | bb8ef1aa300a54dba1b18215247258143c5a3693 (diff) | |
| download | emacs-89d64fca75557b3006532412d8c84885d5a6a873.tar.gz emacs-89d64fca75557b3006532412d8c84885d5a6a873.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/term.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
| 550 | if (src->type == COMPOSITE_GLYPH) | 550 | if (src->type == COMPOSITE_GLYPH) |
| 551 | { | 551 | { |
| 552 | struct composition *cmp; | 552 | struct composition *cmp; |
| 553 | Lisp_Object gstring; | 553 | Lisp_Object gstring UNINIT; |
| 554 | int i; | 554 | int i; |
| 555 | 555 | ||
| 556 | nbytes = buf - encode_terminal_src; | 556 | nbytes = buf - encode_terminal_src; |