From: Martin Rudalics Date: Mon, 24 Jan 2022 09:43:56 +0000 (+0100) Subject: ; * src/xfns.c (xic_preedit_draw_callback): Init text_length to quieten gcc. X-Git-Tag: emacs-29.0.90~2818 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2dec6f59ecd4a2e5803c1854bec21235fadbc5f9;p=emacs.git ; * src/xfns.c (xic_preedit_draw_callback): Init text_length to quieten gcc. --- diff --git a/src/xfns.c b/src/xfns.c index 92aed2d46a7..33d8d98e70b 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -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;