]> git.eshelyaron.com Git - emacs.git/commitdiff
; Pacify -Wmaybe-uninitialized in coding.c.
authorBasil L. Contovounesios <basil@contovou.net>
Sat, 16 Mar 2024 13:15:25 +0000 (14:15 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 18 Mar 2024 15:43:55 +0000 (16:43 +0100)
Warning seen with GCC 13 -Og.

(cherry picked from commit ad3a3ad6e616a53ec5ae28aed02e8d3461a5ce5c)

src/coding.c

index 5f3ceab718b6380de5a707bf922ccb2508b837aa..ff7cf56c29715cd09e34063d67f40269bb3c0ef6 100644 (file)
@@ -5488,7 +5488,7 @@ decode_coding_charset (struct coding_system *coding)
     {
       int c;
       Lisp_Object val;
-      struct charset *charset;
+      struct charset *charset UNINIT;
       int dim;
       int len = 1;
       unsigned code;