[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiler warning in xdisp.c
From: |
Eli Zaretskii |
Subject: |
Re: Compiler warning in xdisp.c |
Date: |
Tue, 23 Nov 2021 14:48:51 +0200 |
> From: Po Lu <luangruo@yahoo.com>
> Date: Tue, 23 Nov 2021 17:50:47 +0800
>
> In file included from composite.h:29,
> from xdisp.c:441:
> xdisp.c: In function ‘produce_stretch_glyph’:
> dispextern.h:1891:10: warning: ‘face’ may be used uninitialized in this
> function [-Wmaybe-uninitialized]
> 1891 | return face_for_char (f, face, character, pos, object);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> xdisp.c:30063:16: note: ‘face’ was declared here
> 30063 | struct face *face;
> | ^~~~
A bogus warning, which should be fixed now (on the release branch;
soon on master). Meanwhile, you can safely disregard it.