]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/xdisp.c (produce_stretch_glyph): Avoid compilation warning.
authorEli Zaretskii <eliz@gnu.org>
Tue, 23 Nov 2021 12:37:53 +0000 (14:37 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 23 Nov 2021 12:37:53 +0000 (14:37 +0200)
src/xdisp.c

index b3647f71e4cc46192ff13b8a5672aefe37e2b650..34add807986fe24889ec976d7be028292cbce7ee 100644 (file)
@@ -29853,7 +29853,7 @@ produce_stretch_glyph (struct it *it)
 #ifdef HAVE_WINDOW_SYSTEM
   int ascent = 0;
   bool zero_height_ok_p = false;
-  struct face *face;
+  struct face *face = NULL;    /* shut up GCC's -Wmaybe-uninitialized */
 
   if (FRAME_WINDOW_P (it->f))
     {