]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/xfns.c (xic_preedit_draw_callback): Init text_length to quieten gcc.
authorMartin Rudalics <rudalics@gmx.at>
Mon, 24 Jan 2022 09:43:56 +0000 (10:43 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Mon, 24 Jan 2022 09:43:56 +0000 (10:43 +0100)
src/xfns.c

index 92aed2d46a71b1fdf7aee1789595d1728a4e92ed..33d8d98e70b9972c4b4c603a3ec5abe535a3fb60 100644 (file)
@@ -3072,7 +3072,7 @@ xic_preedit_draw_callback (XIC xic, XPointer client_data,
 {
   struct frame *f = x_xic_to_frame (xic);
   struct x_output *output;
-  ptrdiff_t text_length;
+  ptrdiff_t text_length = 0;
   ptrdiff_t charpos;
   ptrdiff_t original_size;
   char *text;